Skip to content

Commit 24ed4bb

Browse files
Tenzersebastinas
authored andcommitted
Use Read the Docs theme when building locally
This also disables the `html_static_path` setting as it otherwise points to a folder which doesn't exist.
1 parent 3aa139a commit 24ed4bb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105

106106
# The theme to use for HTML and HTML Help pages. See the documentation for
107107
# a list of builtin themes.
108-
html_theme = 'default'
108+
html_theme = 'sphinx_rtd_theme'
109109

110110
# Theme options are theme-specific and customize the look and feel of a theme
111111
# further. For a list of options available for each theme, see the
@@ -134,7 +134,7 @@
134134
# Add any paths that contain custom static files (such as style sheets) here,
135135
# relative to this directory. They are copied after the builtin static files,
136136
# so a file named "default.css" will overwrite the builtin "default.css".
137-
html_static_path = ['_static']
137+
# html_static_path = ['_static']
138138

139139
# Add any extra paths that contain custom files (such as robots.txt or
140140
# .htaccess) here, relative to this directory. These files are copied

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ansi2html==1.9.2
22
pexpect==4.9.0
33
sphinx==8.1.3
4+
sphinx-rtd-theme==3.0.1
45
-e ..

0 commit comments

Comments
 (0)