diff --git a/autoapi/templates/dotnet/base_list.rst b/autoapi/templates/dotnet/base_list.rst index 2f5979d..919276c 100644 --- a/autoapi/templates/dotnet/base_list.rst +++ b/autoapi/templates/dotnet/base_list.rst @@ -11,6 +11,7 @@ .. toctree:: :hidden: + :maxdepth: 2 {% for item in children %} /autoapi/{{ item.id.split('.')|join('/') }}/index diff --git a/autoapi/templates/index.rst b/autoapi/templates/index.rst index b53cb39..34d7465 100644 --- a/autoapi/templates/index.rst +++ b/autoapi/templates/index.rst @@ -7,5 +7,6 @@ Below is a list of all items that are documented here. .. toctree:: :includehidden: :glob: + :maxdepth: 3 */* \ No newline at end of file