mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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.
|
||||
autoapi_template_dir = 'templates'
|
||||
autoapi_root = 'api'
|
||||
|
||||
templates_path = ['templates']
|
||||
|
||||
# List of patterns, relative to source directory, that match files and
|
||||
# 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…
Reference in New Issue
Block a user