google/comprehensive-rust

Add structured data to generated pages

Open

#1142 aperta il 31 ago 2023

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Rust (2009 fork)batch import
enhancementgood first issuehelp wanted

Metriche repository

Star
 (32.954 star)
Metriche merge PR
 (Merge medio 9g 23h) (36 PR mergiate in 30 g)

Descrizione

We should look into adding structured data to the generated HTML.

I imagine this could be metadata about each page:

  • title, though this is probably covered fine with the title element,
  • when was the page last changed (look this up in Git),
  • place in the page hierarchy,

It seems there is special vocabulary available which might be interesting for us:

How to do this? Likely with a new mdbook preprocessor which can inject the data into the publishing pipeline.

Guida contributor