Skip to content

Commit 7099a36

Browse files
committed
Merge pull request #45 from ddemidov/master
Use git_version() in docs/conf.py
2 parents 7d5ca39 + 8894535 commit 7099a36

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include git_version.py
2+
include spec_version.py
3+
include RELEASE-VERSION

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)