Skip to content

Commit

Permalink
5 eme fix for readthedoc for Single-sourcing the package version.
Browse files Browse the repository at this point in the history
  • Loading branch information
alainivars committed Jun 17, 2019
1 parent f91ce39 commit 20b9513
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
sys.path.insert(0, os.path.abspath('.'))
sys.path.append(os.path.abspath('..')) # add fot next line
from docs import version # noqa: E402 pylint: disable=unidiomatic-typecheck
the_version = version.__version__
sys.path.pop() # remove it now because it kill sphinx on readthedoc !!!


Expand All @@ -26,7 +27,7 @@
author = 'Alain Ivars'

# The full version, including alpha/beta/rc tags
release = version.__version__
release = the_version


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit 20b9513

Please sign in to comment.