diff --git a/karaty/Cargo.toml b/karaty/Cargo.toml index 1d2bbe2..959a16f 100644 --- a/karaty/Cargo.toml +++ b/karaty/Cargo.toml @@ -40,7 +40,7 @@ karaty-blueprint = "0.2.1" # karaty-template = { path = "../template/", template = true } karaty-template = { version = "0.2.1", template = true } -karaty-docsite = { version = "0.2.1", template = true } +karaty-docsite = { path = "../docsite/", template = true } [build-dependencies] serde = { version = "1.0", features = ["derive"] } diff --git a/karaty/karaty.toml b/karaty/karaty.toml index 76a97ba..3ff7b3b 100644 --- a/karaty/karaty.toml +++ b/karaty/karaty.toml @@ -13,10 +13,8 @@ mode = "embedded-repository" data = "karaty/data" [data-source.local] -mode = "embedded-repository" -data = "karaty/data" -# mode = "custom-url" -# data = { url = "/data", index-file = "_index.json" } +mode = "custom-url" +data = { url = "/data", index-file = "_index.json" } [navigation] diff --git a/karaty/public/karaty.toml b/karaty/public/karaty.toml index 76a97ba..3ff7b3b 100644 --- a/karaty/public/karaty.toml +++ b/karaty/public/karaty.toml @@ -13,10 +13,8 @@ mode = "embedded-repository" data = "karaty/data" [data-source.local] -mode = "embedded-repository" -data = "karaty/data" -# mode = "custom-url" -# data = { url = "/data", index-file = "_index.json" } +mode = "custom-url" +data = { url = "/data", index-file = "_index.json" } [navigation] diff --git a/karaty/src/utils/template_loader.rs b/karaty/src/utils/template_loader.rs index 187a841..8ed8600 100644 --- a/karaty/src/utils/template_loader.rs +++ b/karaty/src/utils/template_loader.rs @@ -1,7 +1,7 @@ use std::collections::HashMap; pub fn loader() -> HashMap { let mut templates: HashMap = HashMap::new(); - templates.insert("karaty_docsite".to_string(), karaty_docsite::export()); templates.insert("karaty_template".to_string(), karaty_template::export()); + templates.insert("karaty_docsite".to_string(), karaty_docsite::export()); templates }