summaryrefslogtreecommitdiffstats
path: root/documentation/_templates
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2020-09-07 21:44:54 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-17 10:09:34 +0100
commite4b904b21cd30f0b2f412117b73411b0f2844fef (patch)
treead0043bda23a976f6902638edc81ad2c46fb7f2d /documentation/_templates
parent2a94fe8d6bab10f54e08e9785402dec396a2252d (diff)
downloadpoky-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.html2
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>