We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 957f46e commit bcb1870Copy full SHA for bcb1870
1 file changed
docs/source/conf.py
@@ -22,6 +22,8 @@
22
23
"""Sphinx documentation configuration."""
24
25
+import os
26
+
27
# -- General configuration ------------------------------------------------
28
29
# If your documentation needs a minimal Sphinx version, state it here.
@@ -68,9 +70,9 @@
68
70
# built documents.
69
71
#
72
# The short X.Y version.
-version = "0.0.0"
73
+version = os.getenv("READTHEDOCS_VERSION", "latest")
74
# The full version, including alpha/beta/rc tags.
-release = "0.0.0"
75
+release = version
76
77
# The language for content autogenerated by Sphinx. Refer to documentation
78
# for a list of supported languages.
0 commit comments