From 5ce8e43506184bd9d8bf072c3f50ad0378f81ee7 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 21 Aug 2018 13:41:51 +1000 Subject: build: Fix indexing so it works on HTML and PDF. - Remove all genindex.rst files, these are generated and should not exist in our source. - Fix the HTML templates so the local specialisation works. - Add a index link to the sidebar for HTML. Note, there is no TOC entry for the index in the PDF output and I cannot figure out how to add one. Closes #3503 --- common/_templates/layout.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'common/_templates') diff --git a/common/_templates/layout.html b/common/_templates/layout.html index 7f64789..7a66d8a 100644 --- a/common/_templates/layout.html +++ b/common/_templates/layout.html @@ -1,5 +1,12 @@ {# Import the theme's layout. #} {% extends "!layout.html" %} - +{% block sidebartitle %} + RTEMS Documentation Project + {{ super() }} +{% endblock %} +{% block menu %} + {{ super() }} + Index +{% endblock %} {# Custom CSS overrides #} -{% set bootswatch_css_custom = ['_static/my-styles.css'] %} +{% set css_files = ['_static/my-styles.css'] %} -- cgit v1.2.3