diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2020-09-07 21:44:54 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-17 10:09:34 +0100 |
commit | e4b904b21cd30f0b2f412117b73411b0f2844fef (patch) | |
tree | ad0043bda23a976f6902638edc81ad2c46fb7f2d /documentation/_templates | |
parent | 2a94fe8d6bab10f54e08e9785402dec396a2252d (diff) | |
download | poky-e4b904b21cd30f0b2f412117b73411b0f2844fef.tar.gz |
sphinx: conf: include CSS/JS files, the proper way
html_css_files and html_js_files exist since Sphinx 1.8, and it's the
proper (documented) mechanism to include custom CSS and JS files in
the documentation.
(From yocto-docs rev: 4ae9c426654e33fed4185e5d6e0de76b4a430d84)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/_templates')
-rw-r--r-- | documentation/_templates/layout.html | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/documentation/_templates/layout.html b/documentation/_templates/layout.html index af4c6acc60..308d5c7a28 100644 --- a/documentation/_templates/layout.html +++ b/documentation/_templates/layout.html | |||
@@ -1,7 +1,5 @@ | |||
1 | {% extends "!layout.html" %} | 1 | {% extends "!layout.html" %} |
2 | 2 | ||
3 | {% set script_files = script_files + ['_static/switchers.js'] %} | ||
4 | |||
5 | {% block extrabody %} | 3 | {% block extrabody %} |
6 | <div id="outdated-warning" style="text-align: center; background-color: #FFBABA; color: #6A0E0E;"> | 4 | <div id="outdated-warning" style="text-align: center; background-color: #FFBABA; color: #6A0E0E;"> |
7 | </div> | 5 | </div> |