Skip to content

Commit

Permalink
Merge pull request rust-lang#1301 from dtolnay-contrib/crates.js
Browse files Browse the repository at this point in the history
Add crates.js and woff2 fonts to required files
  • Loading branch information
jyn514 authored Mar 5, 2021
2 parents 4d8ffbe + 5e5f407 commit da1f362
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/docbuilder/rustwide_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,13 @@ const ESSENTIAL_FILES_VERSIONED: &[&str] = &[
"source-script.js",
"noscript.css",
"rust-logo.png",
"crates.js",
];
const ESSENTIAL_FILES_UNVERSIONED: &[&str] = &[
"FiraSans-Medium.woff",
"FireSans-Medium.woff2",
"FiraSans-Regular.woff",
"FireSans-Regular.woff2",
"SourceCodePro-Regular.woff",
"SourceCodePro-Semibold.woff",
"SourceSerifPro-Bold.ttf.woff",
Expand Down

0 comments on commit da1f362

Please sign in to comment.