diff --git a/components/site/src/lib.rs b/components/site/src/lib.rs index 3a0829a..cd393e9 100644 --- a/components/site/src/lib.rs +++ b/components/site/src/lib.rs @@ -764,6 +764,7 @@ impl Site { } pub fn build_search_index(&self) -> Result<()> { + ensure_directory_exists(&self.output_path)?; // index first create_file( &self.output_path.join(&format!("search_index.{}.js", self.config.default_language)), diff --git a/docs/config.toml b/docs/config.toml index fc847ed..62cc309 100644 --- a/docs/config.toml +++ b/docs/config.toml @@ -7,7 +7,6 @@ highlight_code = true insert_anchor_links = true highlight_theme = "kronuz" build_search_index = true -# check_external_links = true [extra] author = "Vincent Prouillet"