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
This commit is contained in:
Chris Johns
2018-08-21 13:41:51 +10:00
parent 9bfda06298
commit 5ce8e43506
30 changed files with 71 additions and 103 deletions

View File

@@ -1,4 +0,0 @@
.. comment SPDX-License-Identifier: CC-BY-SA-4.0
Index
=====

View File

@@ -47,4 +47,4 @@ to the Community Project hosted at http://www.rtems.org/.
utilities
command
genindex
* :ref:`genindex`