about summary refs log tree commit diff
path: root/src/librustdoc/html/templates
AgeCommit message (Collapse)AuthorLines
2021-10-09Remove some stray whitespace.Jacob Hoffman-Andrews-3/+3
2021-10-08Add template for print_itemJacob Hoffman-Andrews-0/+26
Add print_item.html and the code in print_item.rs to use it.
2021-08-12Updates favicon order of precedence as it matters to Chromeskim-2/+2
2021-07-26Add missing whitespace after attribute in HTML templateGuillaume Gomez-1/+1
2021-06-20Use Tera templates for rustdoc.Jacob Hoffman-Andrews-0/+156
Replaces a format!() call in layout::render with a template expansion. Introduces a `templates` field in SharedContext so parts of rustdoc can share pre-rendered templates. This currently builds in a copy of the single template available, like with static files. However, future work can make this live-loadable with a perma-unstable flag, to make rustdoc developers' work easier.