diff --git a/docs_source/conf.py b/docs_source/conf.py index b118d47e..c75c7ff3 100644 --- a/docs_source/conf.py +++ b/docs_source/conf.py @@ -14,15 +14,15 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) -from royalnet import __version__ as royalnet_version +import royalnet # -- Project information ----------------------------------------------------- project = 'Royalnet' copyright = '2019, Stefano Pigozzi' author = 'Stefano Pigozzi' -version = royalnet_version -release = royalnet_version +version = royalnet.__version__ +release = royalnet.__version__ # -- General configuration --------------------------------------------------- @@ -81,4 +81,4 @@ html_static_path = ['_static'] # Display warnings on the pages... for now. keep_warnings = True -nitpicky = True \ No newline at end of file +nitpicky = True