Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Tera templates for rustdoc. #86157

Merged
merged 1 commit into from
Jun 21, 2021
Merged

Use Tera templates for rustdoc. #86157

merged 1 commit into from
Jun 21, 2021

Commits on Jun 21, 2021

  1. 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.
    jsha committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    cd0f931 View commit details
    Browse the repository at this point in the history