Skip to content

Commit 211dab3

Browse files
committed
a
1 parent 4c4a6a6 commit 211dab3

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

docs/conf.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import os, sys
2+
sys.path.insert(0, os.path.abspath(".."))
3+
sys.path.insert(0, os.path.abspath("../src")) # 如果是 src 布局
4+
5+
project = "pyXenium"
6+
extensions = [
7+
"myst_parser",
8+
"sphinx.ext.autodoc",
9+
"sphinx.ext.napoleon",
10+
"sphinx_autodoc_typehints",
11+
"sphinx.ext.viewcode",
12+
]
13+
html_theme = "furo"

docs/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
# pyXenium Docs
1+
# pyXenium 文档
2+
3+
```{toctree}
4+
:maxdepth: 2
5+
:hidden:
6+
7+
api

docs/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
sphinx
2+
furo
3+
myst-parser
4+
sphinx-autodoc-typehints

0 commit comments

Comments
 (0)