From 1e029052e59fab7d35469eb45e103b4250ccdede Mon Sep 17 00:00:00 2001 From: "kujiu (@rincevent)" Date: Sat, 29 Jan 2022 20:39:26 +0100 Subject: [PATCH] Change language urls --- make.sh | 5 +++-- source/conf.py | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/make.sh b/make.sh index 2353c40..8e66501 100755 --- a/make.sh +++ b/make.sh @@ -1,9 +1,10 @@ #!/usr/bin/env bash -make html +mkdir build +make -e SPHINXOPTS="-D language='en'" -e BUILDDIR=build/en html make -e SPHINXOPTS="-D language='fr'" -e BUILDDIR=build/fr html make -e SPHINXOPTS="-D language='nl'" -e BUILDDIR=build/nl html -make gemini +make -e SPHINXOPTS="-D language='en'" -e BUILDDIR=build/en gemini make -e SPHINXOPTS="-D language='fr'" -e BUILDDIR=build/fr gemini make -e SPHINXOPTS="-D language='nl'" -e BUILDDIR=build/nl gemini diff --git a/source/conf.py b/source/conf.py index 9e9ca59..ddbb8b4 100644 --- a/source/conf.py +++ b/source/conf.py @@ -90,9 +90,9 @@ html_theme_options = { ], 'external_languages': [ # ('code', 'name', 'baseurl'), - ('en', 'en', 'https://tn.nerv-project.eu'), - ('fr', 'fr', 'https://fr.tn.nerv-project.eu'), - ('nl', 'nl', 'https://nl.tn.nerv-proect.eu'), + ('en', 'en', 'https://tn.nerv-project.eu/en'), + ('fr', 'fr', 'https://tn.nerv-project.eu/fr'), + ('nl', 'nl', 'https://tn.nerv-proect.eu/nl'), ], "twitter_user": "nerv_project", "fathom": {