Skip to content

Commit b016eb0

Browse files
committed
ensure search index JS files are included in RTD builds
1 parent 666f4a8 commit b016eb0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def check_sphinx_version(expected_version):
223223
# }
224224

225225
# Add any paths that contain custom themes here, relative to this directory.
226-
html_theme_path = []
226+
# html_theme_path = []
227227

228228
html_title = f'{project} v{release}'
229229

@@ -244,6 +244,10 @@ def check_sphinx_version(expected_version):
244244
# so a file named "default.css" will overwrite the builtin "default.css".
245245
html_static_path = ['_static']
246246
html_style = 'css/custom-tweakwcs.css'
247+
html_js_files = [
248+
'searchtools.js',
249+
'language_data.js',
250+
]
247251

248252
# The name of an image file (relative to this directory) to place at the top
249253
# of the sidebar.

0 commit comments

Comments
 (0)