From 24678f243138748a95e0d9bcff641785ee81943d Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Fri, 17 May 2024 08:10:42 -0500 Subject: [PATCH] Fix logic to computing value of release Sphinx variable Presently the code was not ready to version to not have "+" separator in the version string. This change make the code more robust. --- docs/doc_sources/conf.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/doc_sources/conf.py.in b/docs/doc_sources/conf.py.in index 0f1016e239..adbb904a4c 100644 --- a/docs/doc_sources/conf.py.in +++ b/docs/doc_sources/conf.py.in @@ -21,7 +21,7 @@ author = "Intel Corp." version = dpctl.__version__.strip(".dirty") # The full version, including alpha/beta/rc tags -release, _ = dpctl.__version__.strip(".dirty").split("+") +release = dpctl.__version__.strip(".dirty").split("+")[0] # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration