mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
doc: Set script type explicitly to text/javascript
dh_sphinxdoc (used for building the documentation in the Debian package) searches for script lines and expect the type set to text/javascript. Otherwise dh_sphinxdoc won't find the scripts. Therefore mark the JavaScript scripts explicitly as text/javascript. Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
This commit is contained in:
parent
0a56079148
commit
6d0cc7a394
2 changed files with 5 additions and 5 deletions
6
doc/_themes/saltstack/layout.html
vendored
6
doc/_themes/saltstack/layout.html
vendored
|
@ -81,7 +81,7 @@
|
|||
</script>
|
||||
{%- for scriptfile in script_files %}
|
||||
{% if scriptfile not in js_blacklist %}
|
||||
<script src="{{ pathto(scriptfile, 1) }}"></script>
|
||||
<script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
||||
|
@ -159,7 +159,7 @@
|
|||
{%- endblock %}
|
||||
|
||||
{%- block extrahead %} {% endblock %}
|
||||
<script src="{{ pathto('_static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js', 1) }}"></script>
|
||||
<script type="text/javascript" src="{{ pathto('_static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js', 1) }}"></script>
|
||||
|
||||
{%- block analytics %}
|
||||
{% endblock %}
|
||||
|
@ -258,7 +258,7 @@
|
|||
</footer>
|
||||
{%- endblock %}
|
||||
|
||||
<script src="{{ pathto('_static/js/main.js', 1) }}"></script>
|
||||
<script type="text/javascript" src="{{ pathto('_static/js/main.js', 1) }}"></script>
|
||||
|
||||
{% if on_saltstack %}
|
||||
<script type="text/javascript" language="javascript">llactid=23943</script>
|
||||
|
|
4
doc/_themes/saltstack2/layout.html
vendored
4
doc/_themes/saltstack2/layout.html
vendored
|
@ -58,7 +58,7 @@
|
|||
</script>
|
||||
{%- for scriptfile in script_files %}
|
||||
|
||||
<script src="{{ pathto(scriptfile, 1) }}"></script>
|
||||
<script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
|
||||
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
||||
|
@ -99,7 +99,7 @@
|
|||
{%- endif %}
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="{{ pathto('_static/js/respond.min.js', 1) }}"></script>
|
||||
<script type="text/javascript" src="{{ pathto('_static/js/respond.min.js', 1) }}"></script>
|
||||
<![endif]-->
|
||||
|
||||
{%- block linktags %}
|
||||
|
|
Loading…
Add table
Reference in a new issue