From ceffbbdbe650c5ecf7be452200424532f14bced0 Mon Sep 17 00:00:00 2001 From: Shengjing Zhu Date: Sun, 24 Oct 2021 05:45:32 +0800 Subject: [PATCH] Simplify js tag in basic-bootstrap theme 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 845aa35fc335..5519c4b5cea8 100644 --- a/doc/basic-bootstrap/layout.html +++ b/doc/basic-bootstrap/layout.html @@ -97,7 +97,7 @@

{{ _('Navigation') }}

}; {%- for scriptfile in script_files %} - + {{ js_tag(scriptfile) }} {%- endfor %} {%- endmacro %}