mirror of
https://github.com/rust-lang/mdBook
synced 2025-04-29 15:47:26 +08:00
Move JS files into front-end/js
This commit is contained in:
parent
e954e872f0
commit
195d97a514
@ -4,7 +4,7 @@
|
||||
"eslint": "^8.57.1"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint src/theme/*js src/theme/**/*js",
|
||||
"lint-fix": "eslint --fix src/theme/*js src/theme/**/*js"
|
||||
"lint": "eslint src/front-end/*js src/front-end/**/*js",
|
||||
"lint-fix": "eslint --fix src/front-end/*js src/front-end/**/*js"
|
||||
}
|
||||
}
|
||||
|
@ -25,12 +25,12 @@ pub static PRINT_CSS: &[u8] = include_bytes!("../front-end/css/print.css");
|
||||
pub static VARIABLES_CSS: &[u8] = include_bytes!("../front-end/css/variables.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!("../front-end/book.js");
|
||||
pub static HIGHLIGHT_JS: &[u8] = include_bytes!("highlight.js");
|
||||
pub static JS: &[u8] = include_bytes!("../front-end/js/book.js");
|
||||
pub static HIGHLIGHT_JS: &[u8] = include_bytes!("../front-end/js/highlight.js");
|
||||
pub static TOMORROW_NIGHT_CSS: &[u8] = include_bytes!("../front-end/css/tomorrow-night.css");
|
||||
pub static HIGHLIGHT_CSS: &[u8] = include_bytes!("../front-end/css/highlight.css");
|
||||
pub static AYU_HIGHLIGHT_CSS: &[u8] = include_bytes!("../front-end/css/ayu-highlight.css");
|
||||
pub static CLIPBOARD_JS: &[u8] = include_bytes!("clipboard.min.js");
|
||||
pub static CLIPBOARD_JS: &[u8] = include_bytes!("../front-end/js/clipboard.min.js");
|
||||
pub static FONT_AWESOME: &[u8] = include_bytes!("../front-end/css/font-awesome.min.css");
|
||||
pub static FONT_AWESOME_EOT: &[u8] = include_bytes!("../front-end/fonts/fontawesome-webfont.eot");
|
||||
pub static FONT_AWESOME_SVG: &[u8] = include_bytes!("../front-end/fonts/fontawesome-webfont.svg");
|
||||
|
Loading…
x
Reference in New Issue
Block a user