docs: update

This commit is contained in:
csunny
2023-05-25 15:49:27 +08:00
parent cebd2cc048
commit 2014e6b5e1
3 changed files with 131 additions and 2 deletions

View File

@@ -12,8 +12,12 @@ project = "DB-GPT"
copyright = "2023, csunny"
author = "csunny"
release = "0.0.6"
html_title = project + " " + release
with open("../pyproject.toml") as f:
data = toml.load(f)
version = data["tool"]["poetry"]["version"]
release = version
html_title = project + " " + version
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration