Skip to content

Commit

Permalink
Merge pull request #281 from QuietMisdreavus/new-files
Browse files Browse the repository at this point in the history
updates to handle new nightlies
  • Loading branch information
QuietMisdreavus authored Jan 11, 2019
2 parents 017c47c + 419d9b1 commit 1a20968
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/docbuilder/chroot_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,8 @@ impl DocBuilder {
"settings.css",
"storage.js",
"theme.js",
"source-script.js"],
"source-script.js",
"noscript.css"],
// files doesn't require rustc version subfix
["FiraSans-Medium.woff",
"FiraSans-Regular.woff",
Expand Down
4 changes: 3 additions & 1 deletion src/utils/build_doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ pub fn build_doc(name: &str, vers: Option<&str>, target: Option<&str>) -> Result
let mut rustdoc_args: Vec<String> =
vec!["-Z".to_string(), "unstable-options".to_string(),
"--resource-suffix".to_string(),
format!("-{}", parse_rustc_version(get_current_versions()?.0)?)];
format!("-{}", parse_rustc_version(get_current_versions()?.0)?),
"--static-root-path".to_string(), "/".to_string(),
"--disable-per-crate-search".to_string()];

// since https://github.com/rust-lang/rust/pull/51384, we can pass --extern-html-root-url to
// force rustdoc to link to other docs.rs docs for dependencies
Expand Down

0 comments on commit 1a20968

Please sign in to comment.