Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion src/docbuilder/chroot_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,14 +389,16 @@ impl DocBuilder {
let files = (// files require rustc version subfix
["brush.svg",
"wheel.svg",
"down-arrow.svg",
"dark.css",
"light.css",
"main.js",
"normalize.css",
"rustdoc.css",
"settings.css",
"storage.js",
"theme.js"],
"theme.js",
"source-script.js"],
// files doesn't require rustc version subfix
["FiraSans-Medium.woff",
"FiraSans-Regular.woff",
Expand Down
3 changes: 3 additions & 0 deletions src/web/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ impl CratesfyiHandler {
router.get("/:crate/:version/aliases.js",
rustdoc::rustdoc_html_server_handler,
"crate_version_aliases_js");
router.get("/:crate/:version/source-files.js",
rustdoc::rustdoc_html_server_handler,
"crate_version_source_files_js");
router.get("/:crate/:version/:target",
rustdoc::rustdoc_redirector_handler,
"crate_version_target");
Expand Down