File tree 2 files changed +7
-2
lines changed
src/pydata_sphinx_theme/theme/pydata_sphinx_theme
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
{# As the version switcher will only work when JavaScript is enabled, we add it through JavaScript.
2
2
#}
3
3
{% if theme_switcher.get('use_rtd') is defined and theme_switcher.get('use_rtd') %}
4
- < div id ="foo "> </ div >
4
+ < script >
5
+ document . write ( `
6
+ <div class="version-switcher__container dropdown">
7
+ <div id="readthedocs-embed-flyout"></div>
8
+ </div>
9
+ ` ) ;
10
+ </ script >
5
11
{% else %}
6
12
< script >
7
13
document . write ( `
Original file line number Diff line number Diff line change 98
98
{% block docs_main %}
99
99
< div class ="bd-content ">
100
100
< div class ="bd-article-container ">
101
- < div id ="readthedocs-embed-flyout "> </ div >
102
101
{# Article header #}
103
102
< div class ="bd-header-article "> {% include "sections/header-article.html" %}</ div >
104
103
{# Article content #}
You can’t perform that action at this time.
0 commit comments