We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76630e6 commit da18eb8Copy full SHA for da18eb8
src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/version-switcher.html
@@ -1,9 +1,7 @@
1
{# As the version switcher will only work when JavaScript is enabled, we add it through JavaScript.
2
#}
3
{% if theme_switcher.get('use_rtd') is defined and theme_switcher.get('use_rtd') %}
4
- <script>
5
- document.write(`<div id="readthedocs-embed-flyout"></div>`);
6
- </script>
+ <div id="readthedocs-embed-flyout"></div>
7
{% else %}
8
<script>
9
document.write(`
0 commit comments