We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c05cccb commit 3bdb58eCopy full SHA for 3bdb58e
1 file changed
docs/conf.py
@@ -21,13 +21,16 @@
21
from pathlib import Path
22
23
here = Path(__file__).absolute().parent
24
-version = (here.parent / 'VERSION').read_text().strip()
+
25
26
# If extensions (or modules to document with autodoc) are in another directory,
27
# add these directories to sys.path here. If the directory is relative to the
28
# documentation root, use os.path.abspath to make it absolute, like shown here.
29
sys.path.insert(0, os.path.abspath('..'))
30
31
+from juju.version import CLIENT_VERSION
32
+version = CLIENT_VERSION
33
34
# -- General configuration ------------------------------------------------
35
36
# If your documentation needs a minimal Sphinx version, state it here.
0 commit comments