mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Prevent auto-addition of toc by autoapi
- Also fix links in sidebar
This commit is contained in:
parent
0d8f14d3e2
commit
c87166a49a
@ -69,6 +69,7 @@ autoapi_ignore = [
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
autoapi_template_dir = 'templates'
|
||||
autoapi_root = 'api'
|
||||
autoapi_add_toctree_entry = False
|
||||
|
||||
templates_path = ['templates']
|
||||
|
||||
|
@ -9,12 +9,10 @@ Welcome to InvenTree's documentation!
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:caption: Contents:
|
||||
:hidden:
|
||||
|
||||
InvenTree <introduction>
|
||||
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
* :ref:`genindex`
|
||||
* :ref:`modindex`
|
||||
* :ref:`search`
|
||||
* :ref:`modindex`
|
4
docs/introduction.rst
Normal file
4
docs/introduction.rst
Normal file
@ -0,0 +1,4 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
This is a test
|
4
docs/templates/layout.html
vendored
4
docs/templates/layout.html
vendored
@ -2,6 +2,6 @@
|
||||
|
||||
{% block menu %}
|
||||
{{ super() }}
|
||||
<a href="genindex.html">Index</a>
|
||||
<a href="py-modindex.html">Module Index</a>
|
||||
<a href="/py-modindex.html">Module Index</a>
|
||||
<a href="/genindex.html">Index</a>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user