aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/conf.py b/conf.py
index 23934f4..e6b3549 100644
--- a/conf.py
+++ b/conf.py
@@ -17,11 +17,10 @@ import os
# -- Project information -----------------------------------------------------
-project = 'CLUB1'
+project = os.environ['PACKAGE']
copyright = '2022, Nicolas PEUGNET'
-author = 'Nicolas PEUGNET'
-version = 'main'
-release = version
+author = os.environ['COPYRIGHT']
+version = os.environ['VERSION']
# -- General configuration ---------------------------------------------------
@@ -50,6 +49,9 @@ language = 'fr'
# Set by make.
languages = os.environ['LANGUAGES'].split(' ')
+# Managed by make and gettext.
+gettext_auto_build = False
+
# Use a single POT and PO file par language.
gettext_compact = 'package'