Skip to content

Commit 501b342

Browse files
Add sphinx-tabs for documentation generation with tabs
1 parent 1b07cf8 commit 501b342

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
"recommonmark", # For markdown support, does not support 'full' CommonMark syntax (yet)!
124124
"sphinx_autodoc_typehints", # Auto-parse type hints. Napoleon BEFORE typehints
125125
"sphinxcontrib.mermaid", # Draw graphs using Mermaid.js
126+
"sphinx_tabs.tabs", # Toggleable HTML tabs
126127
]
127128

128129
todo_include_todos = True

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ docs = [
7272
"recommonmark>=0.6",
7373
"sphinx-autosummary-accessors>=0.1.2",
7474
"sphinx-autodoc-typehints>=1.1.1",
75-
"sphinxcontrib.mermaid>=0.8"
75+
"sphinxcontrib.mermaid>=0.8",
76+
"sphinx-tabs",
7677
]
7778
test = [
7879
"pytest>=5.4.1",

0 commit comments

Comments
 (0)