Skip to content

Commit 3031adf

Browse files
committed
conf.py: Use version in coalib.__version__
The coala version is stuck at 0.8. Import latest released coalib and use the version it exposes. Fixes #327
1 parent 80a779b commit 3031adf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

conf.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
import sys
1717
import os
1818

19+
import coalib
20+
1921
# If extensions (or modules to document with autodoc) are in another directory,
2022
# add these directories to sys.path here. If the directory is relative to the
2123
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -57,9 +59,9 @@
5759
# built documents.
5860
#
5961
# The short X.Y version.
60-
version = '0.8.0'
62+
version = coalib.__version__
6163
# The full version, including alpha/beta/rc tags.
62-
release = '0.8.0'
64+
release = coalib.__version__
6365

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

docs-requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
coala
12
sphinx~=1.4.9

0 commit comments

Comments
 (0)