mirror of
https://github.com/fmtlib/fmt.git
synced 2024-09-04 05:59:13 +00:00
Simplify js tag in basic-bootstrap theme (#2562)
When build the docs for debian package, it uses a sphinx building helper, which does a sanity check for the output. The sanity check complains missing data-url_root attribute in the js tag. So this patch changes the js tag to use the same function like the origin basic theme, which adds additional information like data-url_root. Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997437
This commit is contained in:
parent
3b6e409cd8
commit
e6d5059cbb
@ -97,7 +97,7 @@
|
||||
};
|
||||
</script>
|
||||
{%- for scriptfile in script_files %}
|
||||
<script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
|
||||
{{ js_tag(scriptfile) }}
|
||||
{%- endfor %}
|
||||
{%- endmacro %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user