Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
starting with rust-lang/rust#59776, the search index, aliases, and source file list are getting the resource suffix added to their file names. this means we can't route them from a static path any more. since we always check the static file router first, this will still allow serving `main.js` for rustdoc versions prior to the addition of `--static-root-path`, and also allows rustdoc to add per-crate javascript files without requiring docs.rs to update to handle it. (it also allows us to start hosting things *other* than rustdoc output as docs - e.g. mdbook output - in the future without changing the routing table massively.)
- Loading branch information