Skip to content

Commit 1785ba3

Browse files
committed
Use git_version() in docs/conf.py
1 parent 7d5ca39 commit 1785ba3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import shlex
1919

2020
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
21+
from git_version import git_version
2122

2223
# If extensions (or modules to document with autodoc) are in another directory,
2324
# add these directories to sys.path here. If the directory is relative to the
@@ -61,9 +62,9 @@
6162
# built documents.
6263
#
6364
# The short X.Y version.
64-
version = '0.3.0'
65+
version = git_version()
6566
# The full version, including alpha/beta/rc tags.
66-
release = '0.3.0'
67+
release = git_version()
6768

6869
# The language for content autogenerated by Sphinx. Refer to documentation
6970
# for a list of supported languages.

0 commit comments

Comments
 (0)