From caf24e8ddd7105cbb04c026fbb90c19981c62d50 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 8 Sep 2020 16:29:59 +0200 Subject: bitbake: sphinx: 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 (Bitbake rev: cb19159cf8972713a2063387849804c5cea72d24) Signed-off-by: Richard Purdie Signed-off-by: Nicolas Dechesne Signed-off-by: Richard Purdie --- bitbake/doc/_templates/breadcrumbs.html | 14 ++++++++++++++ bitbake/doc/_templates/layout.html | 7 +++++++ 2 files changed, 21 insertions(+) create mode 100644 bitbake/doc/_templates/breadcrumbs.html create mode 100644 bitbake/doc/_templates/layout.html (limited to 'bitbake/doc/_templates') diff --git a/bitbake/doc/_templates/breadcrumbs.html b/bitbake/doc/_templates/breadcrumbs.html new file mode 100644 index 0000000000..eb6244b74c --- /dev/null +++ b/bitbake/doc/_templates/breadcrumbs.html @@ -0,0 +1,14 @@ +{% extends "!breadcrumbs.html" %} + +{% block breadcrumbs %} +
  • + {{ doctype or 'single' }} + {{ release }} +
  • +
  • »
  • + {% for doc in parents %} +
  • {{ doc.title }} »
  • + {% endfor %} +
  • {{ title }}
  • +{% endblock %} + diff --git a/bitbake/doc/_templates/layout.html b/bitbake/doc/_templates/layout.html new file mode 100644 index 0000000000..308d5c7a28 --- /dev/null +++ b/bitbake/doc/_templates/layout.html @@ -0,0 +1,7 @@ +{% extends "!layout.html" %} + +{% block extrabody %} +
    +
    +{% endblock %} + -- cgit v1.2.3-54-g00ecf