Skip to content

Commit 28a54d3

Browse files
committedFeb 5, 2025
更新
1 parent e712a82 commit 28a54d3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎doc/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@
109109
# 自动生成 API 文档的路径
110110
# -------------------------------------------------------------------------------------
111111
extensions.append("autoapi.extension")
112-
autoapi_dirs = [f"../src/{project}"]
112+
autoapi_dirs = [f"../src/"]
113+
autoapi_root = "autoapi"
113114
# 在文档中嵌入 Graphviz 图
114115
# -------------------------------------------------------------------------------------
115116
extensions.append("sphinx.ext.graphviz")

‎tasks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
from taolib.flows.tasks import sites
77

8-
namespace = sites('doc', target='doc/_build/html')
8+
namespace = sites('./doc', target='./doc/_build/html')

0 commit comments

Comments
 (0)