From be2a6862c1930bc2a93c74d24ee8028b837144ac Mon Sep 17 00:00:00 2001 From: Fabian Jankowski Date: Wed, 30 Aug 2023 13:35:10 +0200 Subject: [PATCH] Do not hardcode the version string. Use the version attribute of the package. --- docs/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 5d6851e..6a1d280 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -3,13 +3,16 @@ # For the full list of built-in configuration values, see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html +from scatfit import __version__ + # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information project = "scatfit" copyright = "2022-2023, Fabian Jankowski" author = "Fabian Jankowski" -release = "0.2.20" +release = __version__ +version = release # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration