Skip to content
Snippets Groups Projects
Commit e3e7f4e4 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil :bicyclist:
Browse files

reorganize tutorials + notebooks

parent e511d5ea
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,9 @@ cp(
force = true,
)
find_mds(path) =
joinpath.(Ref(path), filter(x -> endswith(x, ".md"), readdir(joinpath("src", path))))
# build the docs
makedocs(
modules = [COBREXA],
......@@ -63,9 +66,20 @@ makedocs(
linkcheck = !("skiplinks" in ARGS),
pages = [
"Home" => "index.md",
"Quickstart tutorials" => "tutorials.md",
"Advanced tutorials" => "advanced.md",
"Examples and notebooks" => "notebooks.md",
"User guide" => [
"Quickstart tutorials" => vcat(
"Detailed tutorial listing" => "tutorials.md",
find_mds("tutorials"),
),
"Advanced tutorials" => vcat(
"Detailed tutorial listing" => "advanced.md",
find_mds("advanced"),
),
"Examples and notebooks" => vcat(
"Detailed notebook listing" => "notebooks.md",
find_mds("notebooks"),
),
],
"Function reference" => "functions.md",
"How to contribute" => "howToContribute.md",
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment