From 5a7375f7729f99438acfc972d3b1769335c9b101 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Mon, 22 Feb 2021 08:42:27 +0100 Subject: [PATCH] [web] Fixed devguide and benchmarks redirects. --- web/content/docs/benchmarks/elliptic/elliptic-dirichlet.md | 1 + web/content/docs/devguide/getting-started/introduction.md | 2 +- web/layouts/{section/docs.html => docs/index.html} | 0 web/static/_redirects | 3 --- 4 files changed, 2 insertions(+), 4 deletions(-) rename web/layouts/{section/docs.html => docs/index.html} (100%) diff --git a/web/content/docs/benchmarks/elliptic/elliptic-dirichlet.md b/web/content/docs/benchmarks/elliptic/elliptic-dirichlet.md index bba36987260..a58c4d90666 100644 --- a/web/content/docs/benchmarks/elliptic/elliptic-dirichlet.md +++ b/web/content/docs/benchmarks/elliptic/elliptic-dirichlet.md @@ -5,6 +5,7 @@ project = "Elliptic/square_1x1_SteadyStateDiffusion/square_1e2.prj" author = "Dmitri Naumov" weight = 102 +aliases = ["/docs/benchmarks/"] [menu.docs] name = "Benchmarks" diff --git a/web/content/docs/devguide/getting-started/introduction.md b/web/content/docs/devguide/getting-started/introduction.md index db7109f2874..027688d9461 100644 --- a/web/content/docs/devguide/getting-started/introduction.md +++ b/web/content/docs/devguide/getting-started/introduction.md @@ -4,7 +4,7 @@ title = "Welcome!" author = "Lars Bilke" weight = 1001 -aliases = ["/docs/devguide"] +aliases = ["/docs/devguide/"] [menu.docs] name = "Developer Guide" diff --git a/web/layouts/section/docs.html b/web/layouts/docs/index.html similarity index 100% rename from web/layouts/section/docs.html rename to web/layouts/docs/index.html diff --git a/web/static/_redirects b/web/static/_redirects index e60f23c79fb..b6677a4f2b1 100644 --- a/web/static/_redirects +++ b/web/static/_redirects @@ -19,6 +19,3 @@ https://docs.opengeosys.org https://www.opengeosys.org/docs 301! https://docs.opengeosys.org/* https://www.opengeosys.org/:splat 301! https://tutorials.opengeosys.org https://www.opengeosys.org/categories/tutorials/ 301! https://benchmarks.opengeosys.org https://www.opengeosys.org/docs/benchmarks/ 301! - -/docs/devguide /docs/devguide/getting-started/introduction/ -/docs/benchmarks /docs/benchmarks/elliptic/elliptic-dirichlet/ -- GitLab