summaryrefslogtreecommitdiffstats
path: root/docs/_templates
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2022-08-05 11:04:42 +0200
committerGeorg Kunz <georg.kunz@ericsson.com>2022-08-08 00:04:51 +0200
commited201f05042e990240b85da74e07686f6c13e39d (patch)
tree5a16d697e862f7ae44ec88dcc6d5efa1c3a4f4e3 /docs/_templates
parent474ea7ed2bf044798bf05654e757fef090e8aed8 (diff)
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 <georg.kunz@ericsson.com> Change-Id: I16f8bf2b500260549bab8b21d1ab58d76cb103c6
Diffstat (limited to 'docs/_templates')
-rw-r--r--docs/_templates/layout.html9
-rw-r--r--docs/_templates/my_custom_sidebar.html2
2 files changed, 9 insertions, 2 deletions
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 @@
<ul class="globaltoc">
{{ toctree(maxdepth=theme_globaltoc_depth|toint, collapse=False,includehidden=theme_globaltoc_includehidden|tobool) }}
-</ul> \ No newline at end of file
+</ul>