Proper RTD detection.

This commit is contained in:
Rapptz
2019-06-29 02:34:11 -04:00
parent 1652539d40
commit c26797d808
2 changed files with 5 additions and 1 deletions

View File

@ -27,7 +27,7 @@
</div>
{% endif %}
{%- if readthedocs %}
{%- if ON_READTHEDOCS %}
<script>
if (typeof READTHEDOCS_DATA !== 'undefined') {
if (!READTHEDOCS_DATA.features) {