Skip to content

Commit

Permalink
Let docs get version from zedenv module
Browse files Browse the repository at this point in the history
  • Loading branch information
johnramsden committed Jun 11, 2018
1 parent 7d02dbe commit 4ec152f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))

import os
import sys
sys.path.insert(0, os.path.abspath('../'))

from zedenv import __version__
# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down Expand Up @@ -55,9 +55,9 @@
# built documents.
#
# The short X.Y version.
version = '0.1.0'
version = __version__
# The full version, including alpha/beta/rc tags.
release = '0.1.0'
release = f"{__version__}-alpha"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit 4ec152f

Please sign in to comment.