aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-06-29 01:31:00 -0400
committerRapptz <[email protected]>2019-06-29 01:31:00 -0400
commit1652539d401169f77cc3d11ba545f9fc952c4b02 (patch)
tree79c602f278cf817d33c9818fe618bfc5ec3a9c51 /docs
parentStrip discord.ext in genindex page and unbreak PEP links. (diff)
downloaddiscord.py-1652539d401169f77cc3d11ba545f9fc952c4b02.tar.xz
discord.py-1652539d401169f77cc3d11ba545f9fc952c4b02.zip
Disable RTD search.
It's completely broken anyway.
Diffstat (limited to 'docs')
-rw-r--r--docs/_templates/layout.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index 68161509..412deb20 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -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 %}