Skip to content

Commit 1ef2a3f

Browse files
author
Onimock
committed
Update: conf.py to get version from pyproject.toml
1 parent 3d316c1 commit 1ef2a3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def get_version():
2525
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
2626

2727
full_version = get_version()
28-
version = ".".join(full_version.split(".")[:2])
29-
release = full_version
28+
version = str(".".join(full_version.split(".")[:2]))
29+
release = str(full_version)
3030

3131
project = "QSS Parser"
3232
copyright = "2025, OniMock"

0 commit comments

Comments
 (0)