mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Remove encoding & embedded js that breaks htmlhelp builder
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user