Remove unneeded file to load sidebar items at crate level

This commit is contained in:
Guillaume Gomez 2021-05-28 15:43:15 +02:00
parent 5a87482eff
commit e081cd48f4
3 changed files with 0 additions and 6 deletions

View File

@ -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)?;

View File

@ -1,2 +0,0 @@
/* global initSidebarItems */
initSidebarItems({});

View File

@ -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");
}