mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-25 23:14:12 +00:00
Remove unneeded file to load sidebar items at crate level
This commit is contained in:
parent
5a87482eff
commit
e081cd48f4
@ -227,7 +227,6 @@ pub(super) fn write_shared(
|
||||
)?;
|
||||
write_minify("search.js", static_files::SEARCH_JS)?;
|
||||
write_minify("settings.js", static_files::SETTINGS_JS)?;
|
||||
write_minify("sidebar-items.js", static_files::sidebar::ITEMS)?;
|
||||
|
||||
if cx.shared.include_sources {
|
||||
write_minify("source-script.js", static_files::sidebar::SOURCE_SCRIPT)?;
|
||||
|
@ -1,2 +0,0 @@
|
||||
/* global initSidebarItems */
|
||||
initSidebarItems({});
|
@ -141,7 +141,4 @@ crate mod noto_sans_kr {
|
||||
crate mod sidebar {
|
||||
/// File script to handle sidebar.
|
||||
crate static SOURCE_SCRIPT: &str = include_str!("static/source-script.js");
|
||||
|
||||
/// Top Level sidebar items script which will load a sidebar without items.
|
||||
crate static ITEMS: &str = include_str!("static/sidebar-items.js");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user