🚨 Drop references to extra css file, fix build
This commit is contained in:
parent
42e15fe898
commit
c42569b8d6
|
@ -144,9 +144,6 @@ impl BookBuilder {
|
|||
let mut variables_css = File::create(cssdir.join("variables.css"))?;
|
||||
variables_css.write_all(theme::VARIABLES_CSS)?;
|
||||
|
||||
let mut excludes_css = File::create(cssdir.join("exclude.css"))?;
|
||||
excludes_css.write_all(theme::EXCLUDES_CSS)?;
|
||||
|
||||
let mut favicon = File::create(themedir.join("favicon.png"))?;
|
||||
favicon.write_all(theme::FAVICON_PNG)?;
|
||||
|
||||
|
|
|
@ -244,7 +244,6 @@ impl HtmlHandlebars {
|
|||
write_file(destination, "css/print.css", &theme.print_css)?;
|
||||
}
|
||||
write_file(destination, "css/variables.css", &theme.variables_css)?;
|
||||
write_file(destination, "css/exclude.css", &theme.excludes_css)?;
|
||||
if let Some(contents) = &theme.favicon_png {
|
||||
write_file(destination, "favicon.png", contents)?;
|
||||
}
|
||||
|
|
|
@ -21,7 +21,6 @@ pub static CHROME_CSS: &[u8] = include_bytes!("css/chrome.css");
|
|||
pub static GENERAL_CSS: &[u8] = include_bytes!("css/general.css");
|
||||
pub static PRINT_CSS: &[u8] = include_bytes!("css/print.css");
|
||||
pub static VARIABLES_CSS: &[u8] = include_bytes!("css/variables.css");
|
||||
pub static EXCLUDES_CSS: &[u8] = include_bytes!("css/exclude.css");
|
||||
pub static FAVICON_PNG: &[u8] = include_bytes!("favicon.png");
|
||||
pub static FAVICON_SVG: &[u8] = include_bytes!("favicon.svg");
|
||||
pub static JS: &[u8] = include_bytes!("book.js");
|
||||
|
@ -94,7 +93,6 @@ impl Theme {
|
|||
theme_dir.join("css/variables.css"),
|
||||
&mut theme.variables_css,
|
||||
),
|
||||
(theme_dir.join("css/exclude.css"), &mut theme.excludes_css),
|
||||
(theme_dir.join("highlight.js"), &mut theme.highlight_js),
|
||||
(theme_dir.join("clipboard.min.js"), &mut theme.clipboard_js),
|
||||
(theme_dir.join("highlight.css"), &mut theme.highlight_css),
|
||||
|
|
Loading…
Reference in New Issue