Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions doc/_static/patch_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% extends "!layout.html" %}

{% block extrahead %}
{{ super() }}
<link rel="preload" href="/switcher.json" as="fetch" crossorigin="anonymous">
{% endblock %}
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@

html_static_path += ['_static'] # noqa

if pydata_sphinx_theme.__version__ == '0.16.1':
# if pydata_sphinx_theme.__version__ == '0.16.1':
# See https://github.com/pydata/pydata-sphinx-theme/issues/2088
templates_path.append('_static/patch_templates') # noqa
templates_path.append('_static/patch_templates') # noqa

html_css_files += ['custom.css'] # noqa

Expand Down
Loading