docs: fix

This commit is contained in:
csunny
2023-05-25 16:14:31 +08:00
parent 6606672c00
commit bd0603ff99
3 changed files with 18 additions and 112 deletions

View File

@@ -12,11 +12,10 @@ project = "DB-GPT"
copyright = "2023, csunny"
author = "csunny"
with open("../pyproject.toml") as f:
data = toml.load(f)
version = data["tool"]["poetry"]["version"]
release = version
with open("../pilot/VERSION") as f:
version = f.read()
html_title = project + " " + version
# -- General configuration ---------------------------------------------------