Skip to content
Snippets Groups Projects
Commit 2fe1a0de authored by Matthew Pitkin's avatar Matthew Pitkin
Browse files

Fix import of version into docs

parent e691e935
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@ import sys
import bilby
sys.path.insert(0, os.path.abspath('../bilby/'))
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
......@@ -55,10 +54,13 @@ author = u'Paul Lasky'
# |version| and |release|, also used in various other places throughout the
# built documents.
#
fullversion = bilby.__version__.split(':')[0]
# The short X.Y version.
version = bilby.__version__
version = '.'.join(fullversion.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = bilby.__version__
release = fullversion
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment