This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-ffi.git
The following commit(s) were added to refs/heads/main by this push:
new 2e2e14d doc: Add sphinx-design as doc dependency (#105)
2e2e14d is described below
commit 2e2e14d7c6af9ccbab9a34a7ee56dafee7982946
Author: Junru Shao <[email protected]>
AuthorDate: Sun Oct 12 12:33:14 2025 -0700
doc: Add sphinx-design as doc dependency (#105)
sphinx design brings many of modern doc features, e.g. dropdown, tabs,
buttons.
---
docs/.rstcheck.cfg | 5 +++--
docs/conf.py | 1 +
pyproject.toml | 1 +
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/docs/.rstcheck.cfg b/docs/.rstcheck.cfg
index 0ed2999..29a712f 100644
--- a/docs/.rstcheck.cfg
+++ b/docs/.rstcheck.cfg
@@ -1,4 +1,5 @@
[rstcheck]
report_level = warning
-ignore_directives = automodule, autosummary, currentmodule, toctree, ifconfig
-ignore_roles = ref, cpp:class, cpp:func, py:func
+ignore_directives = automodule, autosummary, currentmodule, toctree, ifconfig,
tab-set, collapse, tabs
+ignore_roles = ref, cpp:class, cpp:func, py:func, c:macro
+ignore_languages = cpp, python
diff --git a/docs/conf.py b/docs/conf.py
index e2f0666..b380a84 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -46,6 +46,7 @@ extensions = [
"myst_parser",
"nbsphinx",
"autodocsumm",
+ "sphinx_design",
"sphinx.ext.autodoc",
"sphinx.ext.autosectionlabel",
"sphinx.ext.autosummary",
diff --git a/pyproject.toml b/pyproject.toml
index fcf842a..24444eb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -60,6 +60,7 @@ docs = [
"sphinx-autobuild",
"sphinx-book-theme",
"sphinx-copybutton",
+ "sphinx-design",
"sphinx-reredirects==0.1.2",
"sphinx-tabs==3.4.1",
"sphinx-toolbox==3.4.0",