diff --git a/scripts/make_api_rst.py b/scripts/make_api_rst.py index 45a7863b55e1..32fe0d7cc1ce 100755 --- a/scripts/make_api_rst.py +++ b/scripts/make_api_rst.py @@ -143,7 +143,7 @@ def ltr_tag(v): =================================== .. toctree:: - :maxdepth: 4 + :maxdepth: 1 :caption: PACKAGENAME: """