rustdoc: update static files

This commit is contained in:
Shinwoo Park 2021-05-15 14:54:49 +09:00
parent 7e2e331d65
commit b5e09dc7a3
2 changed files with 10 additions and 0 deletions

View file

@ -33,6 +33,8 @@ crate static FILES_UNVERSIONED: Lazy<FxHashMap<&str, &[u8]>> = Lazy::new(|| {
"SourceCodePro-Semibold.ttf.woff" => static_files::source_code_pro::SEMIBOLD, "SourceCodePro-Semibold.ttf.woff" => static_files::source_code_pro::SEMIBOLD,
"SourceCodePro-It.ttf.woff" => static_files::source_code_pro::ITALIC, "SourceCodePro-It.ttf.woff" => static_files::source_code_pro::ITALIC,
"SourceCodePro-LICENSE.txt" => static_files::source_code_pro::LICENSE, "SourceCodePro-LICENSE.txt" => static_files::source_code_pro::LICENSE,
"noto-sans-kr-v13-korean-regular.woff" => static_files::noto_sans_kr::REGULAR,
"noto-sans-kr-v13-korean-regular-LICENSE.txt" => static_files::noto_sans_kr::LICENSE,
"LICENSE-MIT.txt" => static_files::LICENSE_MIT, "LICENSE-MIT.txt" => static_files::LICENSE_MIT,
"LICENSE-APACHE.txt" => static_files::LICENSE_APACHE, "LICENSE-APACHE.txt" => static_files::LICENSE_APACHE,
"COPYRIGHT.txt" => static_files::COPYRIGHT, "COPYRIGHT.txt" => static_files::COPYRIGHT,

View file

@ -126,6 +126,14 @@ crate mod source_code_pro {
crate static LICENSE: &[u8] = include_bytes!("static/SourceCodePro-LICENSE.txt"); crate static LICENSE: &[u8] = include_bytes!("static/SourceCodePro-LICENSE.txt");
} }
crate mod noto_sans_kr {
/// The file `noto-sans-kr-v13-korean-regular.woff`, the Regular variant of the Noto Sans KR font.
crate static REGULAR: &[u8] = include_bytes!("static/noto-sans-kr-v13-korean-regular.woff");
/// The file `noto-sans-kr-v13-korean-regular-LICENSE.txt`, the license text of the Noto Sans KR font.
crate static LICENSE: &[u8] = include_bytes!("static/noto-sans-kr-v13-korean-regular-LICENSE.txt");
}
/// Files related to the sidebar in rustdoc sources. /// Files related to the sidebar in rustdoc sources.
crate mod sidebar { crate mod sidebar {
/// File script to handle sidebar. /// File script to handle sidebar.