From 85f583a0ad5c6fbc84b88037002c3fec5dac5cf6 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 30 Sep 2022 11:47:19 +0200 Subject: [PATCH] Reduced :maxdepth: of toctree in documentation. Recent versions of Sphinx get a bit too zealous about generating deeply nested toctrees. --- docs/source/backends.rst | 2 +- docs/source/events.rst | 2 +- docs/source/index.rst | 2 +- docs/source/plugins.rst | 2 +- docs/source/responses.rst | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/backends.rst b/docs/source/backends.rst index aabb0af0b8..74b225f604 100644 --- a/docs/source/backends.rst +++ b/docs/source/backends.rst @@ -3,7 +3,7 @@ Backends ======== .. toctree:: - :maxdepth: 2 + :maxdepth: 1 :caption: Backends: platypush/backend/adafruit.io.rst diff --git a/docs/source/events.rst b/docs/source/events.rst index ec048ba54d..12eb30e72b 100644 --- a/docs/source/events.rst +++ b/docs/source/events.rst @@ -3,7 +3,7 @@ Events ====== .. toctree:: - :maxdepth: 2 + :maxdepth: 1 :caption: Events: platypush/events/adafruit.rst diff --git a/docs/source/index.rst b/docs/source/index.rst index 04e8c18888..9c901e0a8f 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -16,7 +16,7 @@ For more information on Platypush check out: .. _Blog articles: https://blog.platypush.tech .. toctree:: - :maxdepth: 3 + :maxdepth: 2 :caption: Contents: backends diff --git a/docs/source/plugins.rst b/docs/source/plugins.rst index 8c42418974..0ee00ffcc0 100644 --- a/docs/source/plugins.rst +++ b/docs/source/plugins.rst @@ -3,7 +3,7 @@ Plugins ======= .. toctree:: - :maxdepth: 2 + :maxdepth: 1 :caption: Plugins: platypush/plugins/adafruit.io.rst diff --git a/docs/source/responses.rst b/docs/source/responses.rst index 418a497771..906f70f5ce 100644 --- a/docs/source/responses.rst +++ b/docs/source/responses.rst @@ -3,7 +3,7 @@ Responses ========= .. toctree:: - :maxdepth: 2 + :maxdepth: 1 :caption: Responses: platypush/responses/bluetooth.rst