Commit 2297af9a authored by Wenhao Xie's avatar Wenhao Xie Committed by LeiWang1999
Browse files

Update version retrieval in conf.py to read from VERSION file (#478)

parent c2480907
...@@ -19,8 +19,9 @@ copyright = "2025-2025, %s" % author ...@@ -19,8 +19,9 @@ copyright = "2025-2025, %s" % author
# Version information. # Version information.
# TODO: use the version from project metadata # TODO: use the version from project metadata
version = "0.1.0" with open("../VERSION", "r") as f:
release = "0.1.0" version = f.read().strip()
release = version
extensions = [ extensions = [
"sphinx_tabs.tabs", "sphinx_tabs.tabs",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment