rustdoc: add optional woff2 versions of Source Serif and Source Code
This commit is contained in:
parent
0ef2b4a29b
commit
1738c7864c
9 changed files with 45 additions and 6 deletions
|
@ -25,10 +25,16 @@ static FILES_UNVERSIONED: Lazy<FxHashMap<&str, &[u8]>> = Lazy::new(|| {
|
|||
"FiraSans-Regular.woff" => static_files::fira_sans::REGULAR,
|
||||
"FiraSans-Medium.woff" => static_files::fira_sans::MEDIUM,
|
||||
"FiraSans-LICENSE.txt" => static_files::fira_sans::LICENSE,
|
||||
"SourceSerif4-Regular.ttf.woff2" => static_files::source_serif_4::REGULAR2,
|
||||
"SourceSerif4-Bold.ttf.woff2" => static_files::source_serif_4::BOLD2,
|
||||
"SourceSerif4-It.ttf.woff2" => static_files::source_serif_4::ITALIC2,
|
||||
"SourceSerif4-Regular.ttf.woff" => static_files::source_serif_4::REGULAR,
|
||||
"SourceSerif4-Bold.ttf.woff" => static_files::source_serif_4::BOLD,
|
||||
"SourceSerif4-It.ttf.woff" => static_files::source_serif_4::ITALIC,
|
||||
"SourceSerif4-LICENSE.md" => static_files::source_serif_4::LICENSE,
|
||||
"SourceCodePro-Regular.ttf.woff2" => static_files::source_code_pro::REGULAR2,
|
||||
"SourceCodePro-Semibold.ttf.woff2" => static_files::source_code_pro::SEMIBOLD2,
|
||||
"SourceCodePro-It.ttf.woff2" => static_files::source_code_pro::ITALIC2,
|
||||
"SourceCodePro-Regular.ttf.woff" => static_files::source_code_pro::REGULAR,
|
||||
"SourceCodePro-Semibold.ttf.woff" => static_files::source_code_pro::SEMIBOLD,
|
||||
"SourceCodePro-It.ttf.woff" => static_files::source_code_pro::ITALIC,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue