Skip to content
Snippets Groups Projects
Verified Commit 37bbef98 authored by Lars Bilke's avatar Lars Bilke
Browse files

[web] Added docs subsections.

parent 7dce8665
No related branches found
No related tags found
No related merge requests found
...@@ -3,13 +3,13 @@ title = "Documentation" ...@@ -3,13 +3,13 @@ title = "Documentation"
[[sections]] [[sections]]
name = "User Guide" name = "User Guide"
url = "/docs/userguide" url = "/docs/userguide/basics/introduction/"
text = "Download, install and run an OGS benchmark in 5 minutes! No development setup required." text = "Download, install and run an OGS benchmark in 5 minutes! No development setup required."
icon = "fal fa-users" icon = "fal fa-users"
[[sections]] [[sections]]
name = "Developer Guide" name = "Developer Guide"
url = "/docs/devguide" url = "/docs/devguide/getting-started/introduction/"
text = "You want to contribute to the OpenGeoSys project or implement a custom feature? In the Developer Guide you will find everything to get you started into OpenGeoSys development. Experienced developers will find a comprehensive list of advanced development topics." text = "You want to contribute to the OpenGeoSys project or implement a custom feature? In the Developer Guide you will find everything to get you started into OpenGeoSys development. Experienced developers will find a comprehensive list of advanced development topics."
icon = "fal fa-laptop-code" icon = "fal fa-laptop-code"
...@@ -21,7 +21,7 @@ icon = "fal fa-rabbit-fast" ...@@ -21,7 +21,7 @@ icon = "fal fa-rabbit-fast"
[[sections]] [[sections]]
name = "Tools & Workflows" name = "Tools & Workflows"
url = "/docs/tools" url = "/docs/tools/getting-started/overview/"
text = "Helpful tools for pre- and postprocessing as well as complete model setup workflows." text = "Helpful tools for pre- and postprocessing as well as complete model setup workflows."
icon = "fal fa-tools" icon = "fal fa-tools"
......
...@@ -5,8 +5,6 @@ project = "Elliptic/square_1x1_GroundWaterFlow/square_1e2_volumetricsourceterm.p ...@@ -5,8 +5,6 @@ project = "Elliptic/square_1x1_GroundWaterFlow/square_1e2_volumetricsourceterm.p
author = "Tom Fischer" author = "Tom Fischer"
weight = 102 weight = 102
aliases = [ "/docs/benchmarks/" ] # First benchmark page
[menu] [menu]
[menu.benchmarks] [menu.benchmarks]
parent = "elliptic" parent = "elliptic"
......
...@@ -5,8 +5,6 @@ project = "Elliptic/square_1x1_GroundWaterFlow/square_1e2.prj" ...@@ -5,8 +5,6 @@ project = "Elliptic/square_1x1_GroundWaterFlow/square_1e2.prj"
author = "Dmitri Naumov" author = "Dmitri Naumov"
weight = 102 weight = 102
aliases = [ "/docs/benchmarks/" ] # First benchmark page
[menu] [menu]
[menu.benchmarks] [menu.benchmarks]
parent = "elliptic" parent = "elliptic"
......
...@@ -5,8 +5,6 @@ project = "Elliptic/square_1x1_GroundWaterFlow_Python/square_1e3_poisson_sin_x_s ...@@ -5,8 +5,6 @@ project = "Elliptic/square_1x1_GroundWaterFlow_Python/square_1e3_poisson_sin_x_s
author = "Tom Fischer" author = "Tom Fischer"
weight = 102 weight = 102
aliases = [ "/docs/benchmarks/" ] # First benchmark page
[menu] [menu]
[menu.benchmarks] [menu.benchmarks]
parent = "elliptic" parent = "elliptic"
......
+++
title = "Developer Guide"
+++
...@@ -4,8 +4,6 @@ title = "Welcome!" ...@@ -4,8 +4,6 @@ title = "Welcome!"
author = "Lars Bilke" author = "Lars Bilke"
weight = 1001 weight = 1001
aliases = [ "/docs/devguide/" ] # First devguide page
[menu] [menu]
[menu.devguide] [menu.devguide]
parent = "getting-started" parent = "getting-started"
......
+++
title = "Tools"
+++
...@@ -4,8 +4,6 @@ title = "Introduction" ...@@ -4,8 +4,6 @@ title = "Introduction"
author = "Lars Bilke" author = "Lars Bilke"
weight = 100 weight = 100
aliases = [ "/docs/tools/" ]
[menu] [menu]
[menu.tools] [menu.tools]
parent = "getting-started" parent = "getting-started"
......
+++
title = "User Guide"
first = "basics/introduction"
+++
...@@ -2,7 +2,16 @@ ...@@ -2,7 +2,16 @@
<div class="container"> <div class="container">
<h1>OpenGeoSys Documentation</h1> <h1>OpenGeoSys Documentation</h1>
{{ .Content }} {{ .Content }}
<!-- /docs/[subsection]/ -->
<h2>{{ .CurrentSection.Title }}</h2>
<ul>
{{ range .Pages }}
<li><a href="{{ .URL }}">{{ .Title }}</a></li>
{{ end }}
</ul>
<div class="flex flex-wrap"> <div class="flex flex-wrap">
<!-- /docs -->
{{ range .Params.sections }} {{ range .Params.sections }}
<div class="w-full sm:w-1/2 lg:w-1/3 p-3 my-3"> <div class="w-full sm:w-1/2 lg:w-1/3 p-3 my-3">
<h2 class="mb-2 text-center text-base md:text-lg lg:text-xl xl:text-2xl"> <h2 class="mb-2 text-center text-base md:text-lg lg:text-xl xl:text-2xl">
......
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