Skip to content

Commit

Permalink
[docs] Fixed versions in sphinx config file
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Dec 18, 2015
1 parent d0b2fe6 commit 91d30e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import sys
import os
import shlex
import netjsonconfig
from netjsonconfig.version import VERSION, get_version

# 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
Expand Down Expand Up @@ -59,9 +59,9 @@
# built documents.
#
# The short X.Y version.
version = str(netjsonconfig.VERSION[0])
version = '{0}.{1}'.format(VERSION[0], VERSION[1])
# The full version, including alpha/beta/rc tags.
release = str(netjsonconfig.VERSION[1])
release = get_version()

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

0 comments on commit 91d30e4

Please sign in to comment.