From e6d5059cbb7fcc871f50b53d1cb7569fd97d6ee8 Mon Sep 17 00:00:00 2001 From: zhsj Date: Sun, 24 Oct 2021 21:36:10 +0800 Subject: [PATCH] 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 --- doc/basic-bootstrap/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/basic-bootstrap/layout.html b/doc/basic-bootstrap/layout.html index 845aa35f..5519c4b5 100644 --- a/doc/basic-bootstrap/layout.html +++ b/doc/basic-bootstrap/layout.html @@ -97,7 +97,7 @@ }; {%- for scriptfile in script_files %} - + {{ js_tag(scriptfile) }} {%- endfor %} {%- endmacro %}