webfonts: serve Source Code Pro locally
So that we have freestanding docs.
This commit is contained in:
parent
4d5f4ff5e9
commit
3b0b7b6b91
7 changed files with 22 additions and 4 deletions
|
@ -484,6 +484,10 @@ fn write_shared(cx: &Context,
|
|||
include_bin!("static/Heuristica-Italic.woff")));
|
||||
try!(write(cx.dst.join("SourceSerifPro-Bold.woff"),
|
||||
include_bin!("static/SourceSerifPro-Bold.woff")));
|
||||
try!(write(cx.dst.join("SourceCodePro-Regular.woff"),
|
||||
include_bin!("static/SourceCodePro-Regular.woff")));
|
||||
try!(write(cx.dst.join("SourceCodePro-Semibold.woff"),
|
||||
include_bin!("static/SourceCodePro-Semibold.woff")));
|
||||
|
||||
fn collect(path: &Path, krate: &str,
|
||||
key: &str) -> io::IoResult<Vec<String>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue