Embed woff2 files in rustdoc binary.
This commit is contained in:
parent
c47903f063
commit
ad7ed13eab
2 changed files with 8 additions and 0 deletions
|
@ -76,9 +76,15 @@ crate mod fira_sans {
|
|||
/// The file `FiraSans-Regular.woff`, the Regular variant of the Fira Sans font.
|
||||
crate static REGULAR: &[u8] = include_bytes!("static/FiraSans-Regular.woff");
|
||||
|
||||
/// The file `FiraSans-Regular.woff2`, the Regular variant of the Fira Sans font in woff2.
|
||||
crate static REGULAR2: &[u8] = include_bytes!("static/FiraSans-Regular.woff2");
|
||||
|
||||
/// The file `FiraSans-Medium.woff`, the Medium variant of the Fira Sans font.
|
||||
crate static MEDIUM: &[u8] = include_bytes!("static/FiraSans-Medium.woff");
|
||||
|
||||
/// The file `FiraSans-Medium.woff2`, the Medium variant of the Fira Sans font in woff2.
|
||||
crate static MEDIUM2: &[u8] = include_bytes!("static/FiraSans-Medium.woff2");
|
||||
|
||||
/// The file `FiraSans-LICENSE.txt`, the license text for the Fira Sans font.
|
||||
crate static LICENSE: &[u8] = include_bytes!("static/FiraSans-LICENSE.txt");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue