From 50b7b35555798070c7661b400ebe5c50cd12de84 Mon Sep 17 00:00:00 2001 From: Joseph Capriotti Date: Fri, 11 Oct 2024 13:08:18 -0600 Subject: [PATCH] Fix version in documentation --- docs/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 1c17621..1beaa60 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -64,10 +64,10 @@ # |version| and |release|, also used in various other places throughout the # built documents. # -# The short X.Y version. -version = u'0.2.0' # The full version, including alpha/beta/rc tags. -release = u'0.2.0' +release = pymatsolver.__version__ +# The short X.Y version. +version = ".".join(release.split(".")[:2]) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.