Disable RTD search.

It's completely broken anyway.
This commit is contained in:
Rapptz 2019-06-29 01:31:00 -04:00
parent ab00bc0686
commit 1652539d40

View File

@ -26,4 +26,15 @@
{% if pagename == 'index' %}
</div>
{% endif %}
{%- if readthedocs %}
<script>
if (typeof READTHEDOCS_DATA !== 'undefined') {
if (!READTHEDOCS_DATA.features) {
READTHEDOCS_DATA.features = {};
}
READTHEDOCS_DATA.features.docsearch_disabled = true;
}
</script>
{%- endif %}
{%- endblock %}