Skip to content

Commit

Permalink
修改: pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinwei committed Jan 7, 2025
1 parent d472e4a commit 8b717b1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
media/
api/
autoapi/
File renamed without changes.
9 changes: 9 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
'sphinx_copybutton', # 为代码块添加复制按钮。
"sphinx_comments", # 为 Sphinx 文档添加评论和注释功能。
"sphinx.ext.napoleon", # 支持 Google 和 Numpy 风格的文档字符串
'sphinxcontrib.mermaid',
"sphinx_proof",
"sphinx.ext.todo",
]

# 在此添加包含模板的任何路径,相对于此目录。
Expand Down Expand Up @@ -213,3 +216,9 @@
"sbt-sidebar-nav.html",
]
}

# ===================== 可选 ==========================================================
# 用户可以使用 BibTeX 格式的参考文献数据库,并在文档中插入引用和生成参考文献列表。
# -------------------------------------------------------------------------------------
extensions.append('sphinxcontrib.bibtex')
bibtex_bibfiles = ['_static/refs.bib',]
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ doc = [
"sphinx-sitemap",
"sphinx-autoapi",
"graphviz",
"sphinxcontrib-mermaid",
"sphinx-proof",
]

flows = [
Expand Down

0 comments on commit 8b717b1

Please sign in to comment.