diff options
| author | Rapptz <[email protected]> | 2019-06-29 01:31:00 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-06-29 01:31:00 -0400 |
| commit | 1652539d401169f77cc3d11ba545f9fc952c4b02 (patch) | |
| tree | 79c602f278cf817d33c9818fe618bfc5ec3a9c51 /docs | |
| parent | Strip discord.ext in genindex page and unbreak PEP links. (diff) | |
| download | discord.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.html | 11 |
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 %} |