mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Add index and modindex to sidebar
- https://stackoverflow.com/questions/25243482/how-to-add-sphinx-generated-index-to-the-sidebar-when-using-read-the-docs-theme
This commit is contained in:
parent
4aef8eecea
commit
0d8f14d3e2
@ -68,7 +68,9 @@ autoapi_ignore = [
|
|||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
autoapi_template_dir = 'templates'
|
autoapi_template_dir = 'templates'
|
||||||
|
autoapi_root = 'api'
|
||||||
|
|
||||||
|
templates_path = ['templates']
|
||||||
|
|
||||||
# List of patterns, relative to source directory, that match files and
|
# List of patterns, relative to source directory, that match files and
|
||||||
# directories to ignore when looking for source files.
|
# directories to ignore when looking for source files.
|
||||||
|
7
docs/templates/layout.html
vendored
Normal file
7
docs/templates/layout.html
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{% extends "!layout.html" %}
|
||||||
|
|
||||||
|
{% block menu %}
|
||||||
|
{{ super() }}
|
||||||
|
<a href="genindex.html">Index</a>
|
||||||
|
<a href="py-modindex.html">Module Index</a>
|
||||||
|
{% endblock %}
|
Loading…
x
Reference in New Issue
Block a user