File tree Expand file tree Collapse file tree 1 file changed +4
-21
lines changed
Expand file tree Collapse file tree 1 file changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -76,27 +76,10 @@ <h3>{{ _('Navigation') }}</h3>
7676{%- endmacro %}
7777
7878{%- macro script() %}
79- {% if sphinx_version > = "1.8.0" %}
80- < script type ="text/javascript " id ="documentation_options " data-url_root ="{{ pathto('', 1) }} " src ="{{ pathto('_static/documentation_options.js', 1) }} "> </ script >
81- {%- for scriptfile in script_files %}
82- {{ js_tag(scriptfile) }}
83- {%- endfor %}
84- {% else %}
85- < script type ="text/javascript ">
86- var DOCUMENTATION_OPTIONS = {
87- URL_ROOT :'{{ url_root }}' ,
88- VERSION :'{{ release|e }}' ,
89- LANGUAGE :'{{ language }}' ,
90- COLLAPSE_INDEX :false ,
91- FILE_SUFFIX :'{{ ' ' if no_search_suffix else file_suffix }}' ,
92- HAS_SOURCE : { { has_source| lower } } ,
93- SOURCELINK_SUFFIX : '{{ sourcelink_suffix }}'
94- } ;
95- </ script >
96- {%- for scriptfile in script_files %}
97- < script type ="text/javascript " src ="{{ pathto(scriptfile, 1) }} "> </ script >
98- {%- endfor %}
99- {% endif %}
79+ < script type ="text/javascript " id ="documentation_options " data-url_root ="{{ pathto('', 1) }} " src ="{{ pathto('_static/documentation_options.js', 1) }} "> </ script >
80+ {%- for scriptfile in script_files %}
81+ {{ js_tag(scriptfile) }}
82+ {%- endfor %}
10083{%- endmacro %}
10184
10285{%- macro css() %}
You can’t perform that action at this time.
0 commit comments