mirror of https://github.com/m-labs/artiq.git
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.
|
# 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
|
||||||
|
|
Loading…
Reference in New Issue