about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-06-08 17:19:03 -0700
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-06-20 23:07:28 -0700
commitcd0f93193c84ddc6698f9b65909da71c084dcb74 (patch)
tree3f0b0152ed00f9f65dfdf6e0de2fb4d8443b4e4a /compiler/rustc_codegen_llvm/src
parent50a407200b970d8a48e4e58de37c94df355f5472 (diff)
downloadrust-cd0f93193c84ddc6698f9b65909da71c084dcb74.tar.gz
rust-cd0f93193c84ddc6698f9b65909da71c084dcb74.zip
Use Tera templates for rustdoc.
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions