Skip to content

Commit 6a95519

Browse files
committed
Use the version from the main package for docs
1 parent 290dd68 commit 6a95519

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/source/conf.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
sys.path.insert(0, os.path.abspath("../../"))
1818

1919
import subprocess
20+
from tcms_api.version import __version__
2021

2122
# generate documentation from Python sources
2223
subprocess.run(["make", "-C", "../", "apidoc"], check=True)
@@ -58,9 +59,9 @@
5859
# built documents.
5960
#
6061
# The short X.Y version.
61-
version = "5.3"
62+
version = __version__
6263
# The full version, including alpha/beta/rc tags.
63-
release = "5.3.0"
64+
release = __version__
6465

6566
exclude_patterns = []
6667

0 commit comments

Comments
 (0)