mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-06 11:31:12 +00:00
docs: add docs for db-gpt
This commit is contained in:
10
docs/conf.py
10
docs/conf.py
@@ -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
|
||||
|
Reference in New Issue
Block a user