Skip to content

Commit 453675f

Browse files
Switch from rtd sphinx theme to basic immaterial theme
1 parent a8ecf8d commit 453675f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@
118118
# 'IPython.sphinxext.ipythoGn_console_highlighting', # numpy
119119
# 'IPython.sphinxext.ipython_directive', # numpy
120120
"sphinx.ext.mathjax", # Render math as images
121-
"sphinx_rtd_theme", # Theme
122121
"recommonmark", # For markdown support, does not support 'full' CommonMark syntax (yet)!
123122
"sphinx_autodoc_typehints", # Auto-parse type hints. Napoleon BEFORE typehints
124123
"sphinxcontrib.mermaid", # Draw graphs using Mermaid.js
124+
"sphinx_immaterial", # Sphinx immaterial theme
125125
]
126126

127127
# Add any paths that contain templates here, relative to this directory.
@@ -168,7 +168,7 @@
168168

169169
# The theme to use for HTML and HTML Help pages. See the documentation for
170170
# a list of builtin themes.
171-
html_theme = "sphinx_rtd_theme"
171+
html_theme = "sphinx_immaterial"
172172

173173
# Theme options are theme-specific and customize the look and feel of a theme
174174
# further. For a list of options available for each theme, see the

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ all = [
7272
]
7373
docs = [
7474
"sphinx>=6.0.0,<7.0.0",
75-
"sphinx_rtd_theme>=0.5",
7675
"recommonmark>=0.6",
7776
"sphinx-autosummary-accessors>=0.1.2",
7877
"sphinx-autodoc-typehints>=1.1.1",
79-
"sphinxcontrib.mermaid>=0.8"
78+
"sphinxcontrib.mermaid>=0.8",
79+
"sphinx-immaterial",
8080
]
8181
test = [
8282
"pytest>=5.4.1",

0 commit comments

Comments
 (0)