From ed201f05042e990240b85da74e07686f6c13e39d Mon Sep 17 00:00:00 2001 From: Georg Kunz Date: Fri, 5 Aug 2022 11:04:42 +0200 Subject: Consistent use of material theme across specs and impl project docs This applies the same material theme and build dependencies to the implementation project documentation as used by the specs. It thereby creates a consistens look-and-feel across both set of docs. Signed-off-by: Georg Kunz Change-Id: I16f8bf2b500260549bab8b21d1ab58d76cb103c6 --- docs/_templates/layout.html | 9 ++++++++- docs/_templates/my_custom_sidebar.html | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'docs/_templates') diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 975cd9813..7a1cf9fe6 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -2,4 +2,11 @@ {% extends "!layout.html" %} {# Custom CSS overrides #} -{% set css_files = css_files + ['_static/my-styles.css'] %} +{% set css_files = css_files + ['_static/custom.css'] %} + +{%- block extrahead %} +{# Add custom things to the head HTML tag #} +{# Call the parent block #} + +{{ super() }} +{%- endblock %} \ No newline at end of file diff --git a/docs/_templates/my_custom_sidebar.html b/docs/_templates/my_custom_sidebar.html index 6b259bc93..1d0dfac5a 100644 --- a/docs/_templates/my_custom_sidebar.html +++ b/docs/_templates/my_custom_sidebar.html @@ -1,3 +1,3 @@ \ No newline at end of file + -- cgit 1.2.3-korg