google/comprehensive-rust

Add structured data to generated pages

Aberta

#1.142 aberto em 31 de ago. de 2023

 (1 comentário) (0 reação) (0 responsável)Rust (2.009 forks)batch import
enhancementgood first issuehelp wanted

Métricas do repositório

Stars
 (32.954 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador