Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
glennmatthews committed Feb 19, 2015
1 parent b95d9a3 commit 7adcb70
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# -- General configuration, continued ---------

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = []

# The suffix of source filenames.
source_suffix = '.rst'
Expand All @@ -72,10 +72,12 @@
# built documents.
#
from COT._version import get_versions # noqa
# The short X.Y version.
version = get_versions()["version"]
# The full version, including alpha/beta/rc tags.
release = version
release = get_versions()["version"]
# The short X.Y version.
version = release.split("+")[0]

print("\n".join([project, version, release]))

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

0 comments on commit 7adcb70

Please sign in to comment.