Skip to content

Commit

Permalink
docs: remove missing references in dynamic docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Strömer committed Nov 1, 2024
1 parent bf7225d commit 32f6d3e
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions docs/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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",
];
Expand Down

0 comments on commit 32f6d3e

Please sign in to comment.