docs: add docs for db-gpt

This commit is contained in:
csunny
2023-05-24 21:59:04 +08:00
parent 9edd279b56
commit 4021e9a597
3 changed files with 66 additions and 3 deletions

View File

@@ -6,10 +6,18 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
import toml
project = 'DB-GPT'
copyright = '2023, csunny'
author = 'csunny'
release = '0.0.6'
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