Skip to content

Commit

Permalink
conf.py: Use version in coalib.__version__
Browse files Browse the repository at this point in the history
The coala version is stuck at 0.8.
Import latest released coalib and use the version it exposes.

Fixes coala#327
  • Loading branch information
jayvdb committed Aug 1, 2017
1 parent 80a779b commit 3031adf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
import sys
import os

import coalib

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down Expand Up @@ -57,9 +59,9 @@
# built documents.
#
# The short X.Y version.
version = '0.8.0'
version = coalib.__version__
# The full version, including alpha/beta/rc tags.
release = '0.8.0'
release = coalib.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
1 change: 1 addition & 0 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
coala
sphinx~=1.4.9

0 comments on commit 3031adf

Please sign in to comment.