Skip to content

Commit

Permalink
Suppress 'rtd-footer-container' if not being built on ReadTheDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
DocOtak committed Oct 11, 2024
1 parent c24b4b4 commit 5bbdfb4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
<div class="sidebar-primary-item">{%- include sidebartemplate %}</div>
{%- endfor %}
</div>
{# add the rtd flyout in the sidebar if existing #}
<div id="rtd-footer-container"></div>
{# add the rtd flyout in the sidebar if building on rtd #}
{% if READTHEDOCS %}
<div id="rtd-footer-container"></div>
{% endif %}
{% endif %}
{% endblock docs_sidebar %}

0 comments on commit 5bbdfb4

Please sign in to comment.