From ac16842ede8672074c9a19ad9cd69a8f5f3d4678 Mon Sep 17 00:00:00 2001 From: Karlson Pfannschmidt Date: Sat, 26 Jun 2021 19:26:31 +0200 Subject: [PATCH] Correctly set the short version for the documentation --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 76b3e54..88a2be9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,10 +59,10 @@ # for |version| and |release|, also used in various other places throughout # the built documents. # -# The short X.Y version. -version = tune.__version__ # The full version, including alpha/beta/rc tags. release = tune.__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.