-
Notifications
You must be signed in to change notification settings - Fork 198
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
rustdoc referenced search.js
and settings.js
not via static-root-path
#1979
Comments
interestingly I found that
the latter seems to be served from the cache |
there are also working releases, via version and |
the JS file that gets requested: is actually not invocation specific, but toolchain specific. I can also find it in our bucket in the root directory. It is still requested from the release specific path, and not from the given |
This feels like a bug in rustdoc, while our |
as a workaround I'll probably add back checking the toolchain specific files for this case, pending a fix in rustdoc (and then potentially a rebuild?) |
To sum up the discussion on zulip ( topic link in issue description):
|
The fix (= hack) for this is to partially re-introduce this behaviour, pending another rebuild of the broken docs. |
search.js
not via static-root-path
, but via /krate/version/search-...js
search.js
not via static-root-path
, but via /krate/version/search-...js
search.js
not via static-root-path
search.js
not via static-root-path
search.js
and settings.js
not via static-root-path
I believe a broken |
Some numbers:
( just guessing the nightly versions):
Which means we would have to rebuild 195720 releases to rebuild if we want to fully fix the issue, and remove the fallback static file handler. |
search.js
) wasn't referenced viastatic-root-path
, but via the path for release (invocation) specific assets. ( introduced in rustdoc: Consolidate static-file replacement mechanism rust#91062 ).LegacySharedResourcesHandler
which was a hack for Docs built during 2018-{10-12} link to the wrong url for static resources #1181 also worked for this bug, so this was never visible to users.LegacySharedResourcesHandler
with the last piece of the axum migration (migrate the main rustdoc handlers to axum, drop iron #1963).search.js
, and only at the specific location it might be requested.settings.js
, same as to refs #1979: add workaround for toolchain JS files that were referenced wrong #1980initial issue
reported broken releases:
reported via:
The text was updated successfully, but these errors were encountered: