Remove encoding & embedded js that breaks htmlhelp builder

This commit is contained in:
baldurk
2021-05-10 16:17:46 +01:00
parent b8abb18810
commit e33263270d
@@ -12,7 +12,9 @@
<!DOCTYPE html>
<html class="{{ sphinx_writer }}" lang="{{ lang_attr }}" >
<head>
{% if 'htmlhelp' not in builder %}
<meta charset="utf-8" />
{% endif %}
{{ metatags }}
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{% block htmltitle %}
@@ -218,11 +220,14 @@
</div>
{% include "versions.html" %}
{# Do not insert script tag for htmlhelp #}
{% if 'htmlhelp' not in builder %}
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable({{ 'true' if theme_sticky_navigation|tobool else 'false' }});
});
</script>
{% endif %}
{# Do not conflict with RTD insertion of analytics script #}
{% if not READTHEDOCS %}