From 9267a514e6c4dd268cdc7f71fcca4498851c69f2 Mon Sep 17 00:00:00 2001 From: JeffreyChen Date: Tue, 28 Apr 2026 16:29:26 +0800 Subject: [PATCH] Give each top-level doc its own toctree caption Architecture, the usage guide, and the API reference now each have their own captioned toctree on the landing page so the sidebar renders them as distinct chapters instead of bundling them under one 'Documentation' caption. --- docs/source.zh-CN/index.rst | 12 +++++++++++- docs/source.zh-TW/index.rst | 12 +++++++++++- docs/source/index.rst | 12 +++++++++++- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/docs/source.zh-CN/index.rst b/docs/source.zh-CN/index.rst index 39a3946..3a4d91d 100644 --- a/docs/source.zh-CN/index.rst +++ b/docs/source.zh-CN/index.rst @@ -159,10 +159,20 @@ JSON 动作列表就是上述 list 的 list。 .. toctree:: :maxdepth: 2 - :caption: 文档 + :caption: 架构 architecture + +.. toctree:: + :maxdepth: 3 + :caption: 使用指南 + usage/index + +.. toctree:: + :maxdepth: 2 + :caption: API 参考 + api/index 索引 diff --git a/docs/source.zh-TW/index.rst b/docs/source.zh-TW/index.rst index 6bc4858..0680ac7 100644 --- a/docs/source.zh-TW/index.rst +++ b/docs/source.zh-TW/index.rst @@ -159,10 +159,20 @@ JSON 動作清單就是上述 list 的 list。 .. toctree:: :maxdepth: 2 - :caption: 文件 + :caption: 架構 architecture + +.. toctree:: + :maxdepth: 3 + :caption: 使用指南 + usage/index + +.. toctree:: + :maxdepth: 2 + :caption: API 參考 + api/index 索引 diff --git a/docs/source/index.rst b/docs/source/index.rst index c441d14..16406ac 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -162,10 +162,20 @@ A JSON action list is simply a list of these lists. .. toctree:: :maxdepth: 2 - :caption: Documentation + :caption: Architecture architecture + +.. toctree:: + :maxdepth: 3 + :caption: Usage guide + usage/index + +.. toctree:: + :maxdepth: 2 + :caption: API reference + api/index Indices