Skip to content

Commit e5cdca1

Browse files
committed
Use sphinx_rtd_theme
1 parent b6aa494 commit e5cdca1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/conf.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@
2626

2727
# Add any Sphinx extension module names here, as strings. They can be extensions
2828
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
29-
extensions = ["sphinx.ext.viewcode", "sphinx.ext.autodoc", "sphinx.ext.intersphinx"]
29+
extensions = [
30+
"sphinx.ext.viewcode",
31+
"sphinx.ext.autodoc",
32+
"sphinx.ext.intersphinx",
33+
"sphinx_rtd_theme",
34+
]
3035

3136
# Add any paths that contain templates here, relative to this directory.
3237
templates_path = ["_templates"]
@@ -92,7 +97,7 @@
9297

9398
# The theme to use for HTML and HTML Help pages. See the documentation for
9499
# a list of builtin themes.
95-
html_theme = "default"
100+
html_theme = "sphinx_rtd_theme"
96101

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

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ dev = [
5454
]
5555
docs = [
5656
"sphinx",
57+
"sphinx_rtd_theme",
5758
]
5859

5960
[project.urls]

0 commit comments

Comments
 (0)