Skip to content

Commit 6639eae

Browse files
Merge pull request #1685 from IntelPython/fix-version-logic-in-conf
Fix logic to computing value of release Sphinx variable
2 parents ee1ee10 + 24678f2 commit 6639eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/doc_sources/conf.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ author = "Intel Corp."
2121

2222
version = dpctl.__version__.strip(".dirty")
2323
# The full version, including alpha/beta/rc tags
24-
release, _ = dpctl.__version__.strip(".dirty").split("+")
24+
release = dpctl.__version__.strip(".dirty").split("+")[0]
2525

2626
# -- General configuration ---------------------------------------------------
2727
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

0 commit comments

Comments
 (0)