diff --git a/doc/manual/conf.py b/doc/manual/conf.py index c92b30aa8..f13bb62bf 100644 --- a/doc/manual/conf.py +++ b/doc/manual/conf.py @@ -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