From 41508b23a53c359129ece7479c76c4e83322bafc Mon Sep 17 00:00:00 2001 From: "Douglas Cerna (Soy Douglas)" Date: Sat, 13 Jan 2024 19:15:20 +0100 Subject: [PATCH] Use main package version in docs --- docs/conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 4bdc498..c592027 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,6 +18,8 @@ # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath("..")) +from metsrw import __version__ + # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. @@ -49,9 +51,9 @@ # built documents. # # The short X.Y version. -version = "0.3.15" +version = __version__ # The full version, including alpha/beta/rc tags. -release = "0.3.15" +release = version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.