Skip to content

Commit 4923930

Browse files
committed
does it work to stick it in article container?
1 parent da18eb8 commit 4923930

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/version-switcher.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{# As the version switcher will only work when JavaScript is enabled, we add it through JavaScript.
22
#}
33
{% if theme_switcher.get('use_rtd') is defined and theme_switcher.get('use_rtd') %}
4-
<div id="readthedocs-embed-flyout"></div>
4+
<div id="foo"></div>
55
{% else %}
66
<script>
77
document.write(`

src/pydata_sphinx_theme/theme/pydata_sphinx_theme/layout.html

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
{% block docs_main %}
9999
<div class="bd-content">
100100
<div class="bd-article-container">
101+
<div id="readthedocs-embed-flyout"></div>
101102
{# Article header #}
102103
<div class="bd-header-article">{% include "sections/header-article.html" %}</div>
103104
{# Article content #}

0 commit comments

Comments
 (0)