google/comprehensive-rust

Add structured data to generated pages

開放

#1,142 建立於 2023年8月31日

 (1 則留言) (0 個反應) (0 位負責人)Rust (2,009 個分叉)batch import
enhancementgood first issuehelp wanted

倉庫指標

星標
 (32,954 顆星)
PR 合併指標
 (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.

貢獻者指南