google/comprehensive-rust

Cleaner URLs

Open

#1 227 ouverte le 21 sept. 2023

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Rust (32 954 stars) (2 009 forks)batch import
good first issuehelp wanted

Description

See if we can make https://github.com/rust-lang/mdBook/issues/1563 happen somehow. There are several options for this:

  • Help upstream implement this (preferred)
  • Implement it ourselves by post-processing the generated HTML.

Post-processing the HTML could perhaps even be done using a new template engine (https://github.com/google/mdbook-i18n-helpers/issues/70). It would require us to assign the rendered Markdown ({{{ content }}} in handlebars) to a variable or block and then filter it somehow.

Guide contributeur