File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 11
11
else :
12
12
import tomli as tomllib
13
13
14
- DATA = None
15
- PYPROJECT = os .path .join (".." , ".." , "cargo.toml" )
16
- with open (PYPROJECT , "r" , encoding = "utf8" ) as f :
17
- pyproject = f .read ()
18
- DATA = tomllib .loads (pyproject )
19
- print (DATA )
20
- PROJECT_VERSION = DATA ["package" ]["version" ]
14
+ # DATA = None
15
+ # PYPROJECT = os.path.join("..", "..", "cargo.toml")
16
+ # with open(PYPROJECT, "r", encoding="utf8") as f:
17
+ # pyproject = f.read()
18
+ # DATA = tomllib.loads(pyproject)
19
+ # print(DATA)
20
+ # PROJECT_VERSION = DATA["package"]["version"]
21
21
# PROJECT_NAME = DATA["project"]["name"]
22
22
# AUTHOR_TABLE = DATA["project"]["authors"]
23
23
# AUTHORS = ",".join([f"{aut['name']}<{aut['email']}>" for aut in AUTHOR_TABLE])
26
26
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
27
27
28
28
project = "Comprehensive AI Toolkit" # PROJECT_NAME
29
- release = PROJECT_VERSION # "latest"
29
+ # release = PROJECT_VERSION
30
30
copyright = "2023-PRESENT, Retrofor Wut?"
31
31
author = "HsiangNianian" # AUTHORS
32
32
You can’t perform that action at this time.
0 commit comments