Split vieter docs into separate dir
parent
55e438f4cc
commit
9622196474
|
@ -51,7 +51,7 @@ async fn main() {
|
||||||
|
|
||||||
// Each static site gets mounted explicitely so that the default site can be used as fallback
|
// Each static site gets mounted explicitely so that the default site can be used as fallback
|
||||||
// Each entry is of the form (route, static dir name)
|
// Each entry is of the form (route, static dir name)
|
||||||
let sites = [("/docs", "docs"), ("/api-docs/vieter", "api-docs-vieter")];
|
let sites = [("/docs/vieter", "docs-vieter"), ("/api-docs/vieter", "api-docs-vieter")];
|
||||||
|
|
||||||
for (path, dir) in sites {
|
for (path, dir) in sites {
|
||||||
let full_path = format!("{}/{}", static_dir, dir);
|
let full_path = format!("{}/{}", static_dir, dir);
|
||||||
|
|
Loading…
Reference in New Issue