diff --git a/docs/conf.py b/docs/conf.py index 4f6f7022..f14d98ff 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -3,14 +3,20 @@ # # For the full list of built-in configuration values, see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html +import sys +from pathlib import Path + +sys.path.insert(0, str(Path(__file__).resolve().parent)) # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information +from pygeoif import about # noqa: E402 + project = "pygeoif" copyright = "2023, Christian Ledermann" # noqa: A001 author = "Christian Ledermann" -release = "1.2" +release = about.__version__ # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration