Skip to content

extend about/download page with new static root #1918

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

Merged
merged 1 commit into from
Nov 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions templates/core/about/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ <h2>processing / caveats</h2>
subfolder.
</p>
<p>
Docs.rs is running rustdoc with <code>--static-root-path "/"</code>,
Docs.rs is running rustdoc with <code>--static-root-path "/-/rustdoc.static/"</code>,
which leads to all references to static assets breaking if they are not
available under that path.
available under that path. Older builds used <code>--static-root-path "/"</code>, which
means you will have to handle both.
</p>
<p>
Since we're also adding <code>--emit=invocation-specific</code> to our build
Expand Down