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