diff --git a/doc/conf.py b/doc/conf.py index d33175e1..2e8eb4ae 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -13,20 +13,19 @@ # import os # import sys # sys.path.insert(0, os.path.abspath('.')) -import pkg_resources # part of setuptools - # -- Project information ----------------------------------------------------- +import pkg_resources project = "linopy" copyright = "2021, Fabian Hofmann" author = "Fabian Hofmann" +text = "text" # The full version, including alpha/beta/rc tags version = pkg_resources.get_distribution("linopy").version release = "master" if "dev" in version else version # For some reason is this needed, otherwise autosummary does fail on RTD but not locally -import linopy # noqa # -- General configuration ---------------------------------------------------