forked from M-Labs/artiq
1
0
Fork 0

manual: __version__ cleanup

This commit is contained in:
Robert Jördens 2016-01-25 14:10:24 -07:00
parent dcea6780c6
commit b56c55a90d
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ for module in mock_modules:
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..')) sys.path.insert(0, os.path.abspath('..'))
from artiq._version import get_versions from artiq import __version__ as artiq_version
# -- General configuration ------------------------------------------------ # -- General configuration ------------------------------------------------
@ -78,7 +78,7 @@ copyright = '2014-2016, M-Labs Limited'
# version = 'prerelease' # version = 'prerelease'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
# release = 'prerelease' # release = 'prerelease'
release = get_versions()['version'] release = artiq_version
version = release.split('+', 1)[0] version = release.split('+', 1)[0]
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation