Skip to content

Commit 3ad747a

Browse files
committed
update sphinx theme
1 parent 00cdfcf commit 3ad747a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
source ./.env/bin/activate
2323
python3 -m pip install --upgrade pip
2424
pip install mkdocs mkdocs-material pymdown-extensions mkdocstrings[python]
25-
pip install sphinx sphinx_rtd_theme sphinx-immaterial numpy msgpack-rpc-python
25+
pip install sphinx sphinx-immaterial numpy msgpack-rpc-python
2626
2727
- name: "Build API documentation: Sphinx Immaterial"
2828
shell: bash

python/docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4343
# ones.
4444
extensions = [
45+
"sphinx_immaterial",
4546
"sphinx.ext.autodoc",
4647
"sphinx.ext.autosummary",
4748
"sphinx.ext.autosectionlabel",
@@ -52,7 +53,6 @@
5253
"sphinx.ext.coverage",
5354
"sphinx.ext.napoleon",
5455
"sphinx.ext.viewcode",
55-
"sphinx_rtd_theme",
5656
]
5757

5858
autodoc_default_flags = ["members"]
@@ -77,7 +77,7 @@
7777
#
7878
# This is also used if you do content translation via gettext catalogs.
7979
# Usually you set "language" from the command line for these cases.
80-
language = None
80+
language = "en"
8181

8282
# List of patterns, relative to source directory, that match files and
8383
# directories to ignore when looking for source files.
@@ -94,7 +94,7 @@
9494
# a list of builtin themes.
9595
#
9696
# html_theme = 'alabaster'
97-
html_theme = "sphinx_rtd_theme"
97+
html_theme = "sphinx_immaterial"
9898

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

0 commit comments

Comments
 (0)