Change language urls

This commit is contained in:
Kujiu 2022-01-29 20:39:26 +01:00
parent 48bcfcdd56
commit 1e029052e5
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
2 changed files with 6 additions and 5 deletions

View file

@ -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

View file

@ -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": {