From 32f6d3e801e6d59bc290f1d09ea311d1a64b53af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Str=C3=B6mer?= Date: Fri, 1 Nov 2024 01:15:36 +0100 Subject: [PATCH] docs: remove missing references in dynamic docs generation --- docs/generate.jl | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/docs/generate.jl b/docs/generate.jl index 3cca0bc..8ed9f1e 100644 --- a/docs/generate.jl +++ b/docs/generate.jl @@ -10,8 +10,8 @@ end # This defines the order of the menu / page structure. examples_files = [ - file[1:(end - 3)] for - file in readdir(normpath(@__DIR__, "src", "pages", "user_guide", "examples")) if endswith(file, ".md") + # file[1:(end - 3)] for + # file in readdir(normpath(@__DIR__, "src", "pages", "user_guide", "examples")) if endswith(file, ".md") ] _PAGES = Pair["Home" => "index.md"] @@ -20,18 +20,9 @@ append!( _build_page_paths( [ "Tutorials" => [ - "setup", "first_model", "next_steps", "results", - "Creating new components" => ["index", "templates_1", "templates_2"], + "templates_1", ], - "User Guide" => [ - "general", - "Sectors" => ["electricity", "heat", "gas"], - "solvers", - "Custom functionality" => ["templates", "addons"], - "Examples" => [], # TODO: examples_files, - ], - "Manual / Reference" => ["yaml", "core_components", "templates", "api"], - "References" => "references", + "Manual / Reference" => ["core_components", "api"], "Developer Documentation" => "dev_docs", "Changelog" => "changelog", ];