parent
0e4e0c35b3
commit
7e618684da
|
@ -764,6 +764,7 @@ impl Site {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn build_search_index(&self) -> Result<()> {
|
pub fn build_search_index(&self) -> Result<()> {
|
||||||
|
ensure_directory_exists(&self.output_path)?;
|
||||||
// index first
|
// index first
|
||||||
create_file(
|
create_file(
|
||||||
&self.output_path.join(&format!("search_index.{}.js", self.config.default_language)),
|
&self.output_path.join(&format!("search_index.{}.js", self.config.default_language)),
|
||||||
|
|
|
@ -7,7 +7,6 @@ highlight_code = true
|
||||||
insert_anchor_links = true
|
insert_anchor_links = true
|
||||||
highlight_theme = "kronuz"
|
highlight_theme = "kronuz"
|
||||||
build_search_index = true
|
build_search_index = true
|
||||||
# check_external_links = true
|
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
author = "Vincent Prouillet"
|
author = "Vincent Prouillet"
|
||||||
|
|
Loading…
Reference in a new issue