google/comprehensive-rust

Add structured data to generated pages

Open

#1,142 创建于 2023年8月31日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Rust (2,009 fork)batch import
enhancementgood first issuehelp wanted

仓库指标

Star
 (32,954 star)
PR 合并指标
 (平均合并 9天 23小时) (30 天内合并 36 个 PR)

描述

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.

贡献者指南