diff --git a/docs/guides/index.rst b/docs/guides/index.rst index 9a3bbe28a..b13e03486 100644 --- a/docs/guides/index.rst +++ b/docs/guides/index.rst @@ -1,9 +1,14 @@ +:orphan: + ****************** Type System Guides ****************** +.. + Keep in sync with docs/index.rst. + .. toctree:: - :maxdepth: 2 + :maxdepth: 1 :caption: Contents: libraries diff --git a/docs/index.rst b/docs/index.rst index 0dfdf131d..7bd07ba3a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -5,18 +5,33 @@ Static Typing with Python Guides ====== +.. + Keep in sync with docs/guides/index.rst. + .. toctree:: - :maxdepth: 2 + :maxdepth: 1 - guides/index + guides/libraries + guides/writing_stubs + guides/modernizing + guides/unreachable + guides/type_narrowing + guides/typing_anti_pitch Reference ========= +.. + Keep in sync with docs/reference/index.rst. + .. toctree:: - :maxdepth: 2 + :maxdepth: 1 - reference/index + reference/generics + reference/protocols + reference/best_practices + reference/quality + typing Module Documentation .. seealso:: diff --git a/docs/reference/index.rst b/docs/reference/index.rst index 720e21277..bab77a268 100644 --- a/docs/reference/index.rst +++ b/docs/reference/index.rst @@ -1,7 +1,12 @@ +:orphan: + ********************* Type System Reference ********************* +.. + Keep in sync with docs/index.rst. + .. toctree:: :maxdepth: 2 :caption: Contents: