summaryrefslogtreecommitdiffstats
path: root/documentation/_templates/layout.html
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-07 12:44:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-17 10:09:34 +0100
commitad2e3e614696e098cb4ab1791cb402adaa16d033 (patch)
tree4f569bf5a63f66797c5ffb1bcd21e0f1894de377 /documentation/_templates/layout.html
parent721edcfd44a61c4ea7a88d4e46d35bbdbce99c56 (diff)
downloadpoky-ad2e3e614696e098cb4ab1791cb402adaa16d033.tar.gz
sphinx: Add support for multiple docs version
Enhance the sphinx experience/nagivation with: * Remove the pointless looking parts of breadcrumb navigtation * Add a document type switcher to the breadcrumb navigation * Add a version selection switch to the breadcrumb navigation (From yocto-docs rev: 1823624bdb9ea002d44c9e6d0fd4cd662bff36ad) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/_templates/layout.html')
-rw-r--r--documentation/_templates/layout.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/documentation/_templates/layout.html b/documentation/_templates/layout.html
new file mode 100644
index 0000000000..af4c6acc60
--- /dev/null
+++ b/documentation/_templates/layout.html
@@ -0,0 +1,9 @@
1{% extends "!layout.html" %}
2
3{% set script_files = script_files + ['_static/switchers.js'] %}
4
5{% block extrabody %}
6<div id="outdated-warning" style="text-align: center; background-color: #FFBABA; color: #6A0E0E;">
7</div>
8{% endblock %}
9