aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-05-02 15:23:45 +0200
committern-peugnet <n.peugnet@free.fr>2022-05-02 15:24:41 +0200
commitb465c3af6045cec1c7f7cca060ffd975267b2d76 (patch)
treef28673d5b6a028ec8a6d84164ee2ab273d7db6e2 /conf.py
parent273e52b04cf6e45c2226bc5b26aba914b426922a (diff)
downloadclub1-docs-n-peugnet-move-locales.tar.gz
club1-docs-n-peugnet-move-locales.zip
refactor: prefix locales dir with underscoren-peugnet-move-locales
to separate it more clearly from the content of the docs
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.py b/conf.py
index 9649ba3..5122b28 100644
--- a/conf.py
+++ b/conf.py
@@ -58,6 +58,9 @@ language = os.environ['LOCALE']
# Set by make.
languages = os.environ['LANGUAGES'].split(' ')
+# Directory that contains the translated messages
+locale_dirs = ['_locales']
+
# Managed by make and gettext.
gettext_auto_build = False