Skip to content

Commit b5e09dc

Browse files
author
Shinwoo Park
committed
rustdoc: update static files
1 parent 7e2e331 commit b5e09dc

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/librustdoc/html/render/write_shared.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ crate static FILES_UNVERSIONED: Lazy<FxHashMap<&str, &[u8]>> = Lazy::new(|| {
3333
"SourceCodePro-Semibold.ttf.woff" => static_files::source_code_pro::SEMIBOLD,
3434
"SourceCodePro-It.ttf.woff" => static_files::source_code_pro::ITALIC,
3535
"SourceCodePro-LICENSE.txt" => static_files::source_code_pro::LICENSE,
36+
"noto-sans-kr-v13-korean-regular.woff" => static_files::noto_sans_kr::REGULAR,
37+
"noto-sans-kr-v13-korean-regular-LICENSE.txt" => static_files::noto_sans_kr::LICENSE,
3638
"LICENSE-MIT.txt" => static_files::LICENSE_MIT,
3739
"LICENSE-APACHE.txt" => static_files::LICENSE_APACHE,
3840
"COPYRIGHT.txt" => static_files::COPYRIGHT,

src/librustdoc/html/static_files.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@ crate mod source_code_pro {
126126
crate static LICENSE: &[u8] = include_bytes!("static/SourceCodePro-LICENSE.txt");
127127
}
128128

129+
crate mod noto_sans_kr {
130+
/// The file `noto-sans-kr-v13-korean-regular.woff`, the Regular variant of the Noto Sans KR font.
131+
crate static REGULAR: &[u8] = include_bytes!("static/noto-sans-kr-v13-korean-regular.woff");
132+
133+
/// The file `noto-sans-kr-v13-korean-regular-LICENSE.txt`, the license text of the Noto Sans KR font.
134+
crate static LICENSE: &[u8] = include_bytes!("static/noto-sans-kr-v13-korean-regular-LICENSE.txt");
135+
}
136+
129137
/// Files related to the sidebar in rustdoc sources.
130138
crate mod sidebar {
131139
/// File script to handle sidebar.

0 commit comments

Comments
 (0)