Skip to contentSkip to conversation

doc: reduce index depth of most guides

PATCH Applied Thomas Monjalon 1 participant 2 messages Apr 14, 2025 – Jun 12, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: reduce index depth of most guides

The guides having a diverse list of multiple drivers or tools are easier to browse with an index limited
to the first headings (depth 1).

---
 doc/guides/bbdevs/index.rst        | 2 +-
 doc/guides/compressdevs/index.rst  | 2 +-
 doc/guides/cryptodevs/index.rst    | 2 +-
 doc/guides/dmadevs/index.rst       | 2 +-
 doc/guides/eventdevs/index.rst     | 2 +-
 doc/guides/faq/index.rst           | 2 +-
 doc/guides/gpus/index.rst          | 2 +-
 doc/guides/howto/index.rst         | 2 +-
 doc/guides/mempool/index.rst       | 2 +-
 doc/guides/mldevs/index.rst        | 2 +-
 doc/guides/nics/index.rst          | 2 +-
 doc/guides/platform/index.rst      | 2 +-
 doc/guides/rawdevs/index.rst       | 2 +-
 doc/guides/regexdevs/index.rst     | 2 +-
 doc/guides/sample_app_ug/index.rst | 2 +-
 doc/guides/tools/index.rst         | 2 +-
 doc/guides/vdpadevs/index.rst      | 2 +-
 17 files changed, 17 insertions(+), 17 deletions(-)
doc/guides/bbdevs/index.rst +1 -1
index 269157d77f..d833bbeff0 100644
@@ -5,7 +5,7 @@ Baseband Device Drivers
 =======================
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     overview
doc/guides/compressdevs/index.rst +1 -1
index bab226ffbc..4dcc7d3831 100644
@@ -6,7 +6,7 @@ Compression Device Drivers
 
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     overview
doc/guides/cryptodevs/index.rst +1 -1
index 1e57a9fe86..5ddfc46a63 100644
@@ -6,7 +6,7 @@ Crypto Device Drivers
 
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     overview
doc/guides/dmadevs/index.rst +1 -1
index ce9f6eb260..15ddaf5192 100644
@@ -8,7 +8,7 @@ The following are a list of DMA device drivers, which can be used from
 an application through DMA API.
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
    :numbered:
 
    cnxk
doc/guides/eventdevs/index.rst +1 -1
index eed19ad28c..69a5ebf812 100644
@@ -8,7 +8,7 @@ The following are a list of event device PMDs, which can be used from an
 application through the eventdev API.
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     overview
doc/guides/faq/index.rst +1 -1
index a9ae9bddd4..191953e940 100644
@@ -7,7 +7,7 @@ FAQ
 This document contains some Frequently Asked Questions that arise when working with DPDK.
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     faq
doc/guides/gpus/index.rst +1 -1
index 4b7a420556..bc82ae3be2 100644
@@ -5,7 +5,7 @@ General-Purpose Graphics Processing Unit Drivers
 ================================================
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
    :numbered:
 
    overview
doc/guides/howto/index.rst +1 -1
index ee80849e7b..c9117a0fe4 100644
@@ -5,7 +5,7 @@ HowTo Guides
 ============
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     af_xdp_dp
doc/guides/mempool/index.rst +1 -1
index e4b6ee7d31..a731e61587 100644
@@ -8,7 +8,7 @@ The following are a list of mempool PMDs, which can be used from an
 application through the mempool API.
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     cnxk
doc/guides/mldevs/index.rst +1 -1
index 00e7795ec1..754b3d9705 100644
@@ -8,7 +8,7 @@ The following are a list of ML device PMDs,
 which can be used from an application through the ML device API.
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
    :numbered:
 
    cnxk
doc/guides/nics/index.rst +1 -1
index 10a2eca3b0..9f1bf567cb 100644
@@ -5,7 +5,7 @@ Network Interface Controller Drivers
 ====================================
 
 .. toctree::
-    :maxdepth: 3
+    :maxdepth: 1
     :numbered:
 
     overview
doc/guides/platform/index.rst +1 -1
index b1ba11df73..d44cbdc8e3 100644
@@ -7,7 +7,7 @@ Platform Specific Guides
 The following are platform specific guides and setup information.
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     bluefield
doc/guides/rawdevs/index.rst +1 -1
index 804fa5365a..8d8aae0834 100644
@@ -8,7 +8,7 @@ The following are a list of raw device PMDs, which can be used from an
 application through rawdev API.
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     cnxk_bphy
doc/guides/regexdevs/index.rst +1 -1
index 9c88300bff..4f928f919b 100644
@@ -8,7 +8,7 @@ The following are a list of RegEx (Regular Expression) device drivers,
 which can be used from an application through RegEx API.
 
 .. toctree::
-   :maxdepth: 2
+   :maxdepth: 1
    :numbered:
 
    features_overview
doc/guides/sample_app_ug/index.rst +1 -1
index 21ee35cc8b..e895f692f9 100644
@@ -5,7 +5,7 @@ Sample Applications User Guides
 ===============================
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     intro
doc/guides/tools/index.rst +1 -1
index 4f4dc8b518..8ec429ec53 100644
@@ -5,7 +5,7 @@ DPDK Tools User Guides
 ======================
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     hugepages
doc/guides/vdpadevs/index.rst +1 -1
index b0191a3a1d..ddbeb6c026 100644
@@ -8,7 +8,7 @@ The following are a list of vDPA (vHost Data Path Acceleration) device drivers,
 which can be used from an application through vhost API.
 
 .. toctree::
-    :maxdepth: 2
+    :maxdepth: 1
     :numbered:
 
     features_overview
Signature · 1 line
2.47.1
author Applied
#1 lore raw

14/04/2025 10:45, Thomas Monjalon:

Quoted 5 lines

The guides having a diverse list of multiple drivers or tools are easier to browse with an index limited
to the first headings (depth 1).

Applied