Skip to content

Commit 252c0af

Browse files
committed
docs: Always use sphinx_rtd_theme
1 parent db8b44f commit 252c0af

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"sphinx.ext.intersphinx",
2020
"sphinx.ext.napoleon",
2121
"sphinx.ext.todo",
22+
"sphinx_rtd_theme",
2223
]
2324

2425
autoapi_keep_files = True
@@ -107,7 +108,7 @@
107108
# The theme to use for HTML and HTML Help pages. See the documentation for
108109
# a list of builtin themes.
109110
#
110-
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
111+
html_theme = "sphinx_rtd_theme"
111112

112113
# Add any paths that contain custom static files (such as style sheets) here,
113114
# relative to this directory. They are copied after the builtin static files,

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44

55
sphinx>=4.0.0
66
sphinx-autoapi
7+
sphinx-rtd-theme

0 commit comments

Comments
 (0)