From 77c0065f4be5858f5b239fb9b401c4f9460c341b Mon Sep 17 00:00:00 2001 From: noave Date: Thu, 17 Mar 2022 18:55:23 +0100 Subject: [PATCH 1/2] [meta] remove .html from URLs --- netlify.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/netlify.toml b/netlify.toml index e5a294d3..c3f2a505 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,7 @@ +[build] + publish = "build/dirhtml" + command = "make dirhtml" + [[redirects]] from = "/en/*" to = "/:splat" From a9b350066bf8420c383ae8245e3add8e7fe18da9 Mon Sep 17 00:00:00 2001 From: noave Date: Wed, 13 Apr 2022 12:19:00 +0200 Subject: [PATCH 2/2] [meta] fix ref-links --- source/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/conf.py b/source/conf.py index 80b47eba..62a12a41 100644 --- a/source/conf.py +++ b/source/conf.py @@ -88,10 +88,10 @@ # By setting an empty string as the second tuple element, the display text # is the same as the target by default. extlinks = { - "manual": ("https://manual.uberspace.de/%s.html", ""), + "manual": ("https://manual.uberspace.de/%s", ""), "manual_anchor": ("https://manual.uberspace.de/%s", ""), - "lab": ("%s.html", ""), - "lab_anchor": ("%s", ""), + "lab": ("/%s", ""), + "lab_anchor": ("/%s", ""), }