This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to branch add_compilerto_sidebar
in repository https://gitbox.apache.org/repos/asf/fory-site.git

commit 0919e0faf0abe9d6f14cba81b873925307258248
Author: chaokunyang <[email protected]>
AuthorDate: Wed Jan 21 15:58:30 2026 +0800

    fix sidebar
---
 docs/compiler/_category_.json | 4 +++-
 docusaurus.config.ts          | 2 +-
 sidebars.ts                   | 4 ++++
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/docs/compiler/_category_.json b/docs/compiler/_category_.json
index c2cd9e2fe..f835a1000 100644
--- a/docs/compiler/_category_.json
+++ b/docs/compiler/_category_.json
@@ -1,4 +1,6 @@
 {
   "position": 3,
-  "label": "Schema IDL & Compiler"
+  "label": "Schema IDL & Compiler",
+  "collapsible": true,
+  "collapsed": true
 }
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 6c7403d99..da91dc34f 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -37,7 +37,7 @@ const config: Config = {
       '@docusaurus/preset-classic',
       {
         docs: {
-          sidebarCollapsible: false,
+          sidebarCollapsible: true,
           lastVersion: '0.14',
           versions: {
             current: {
diff --git a/sidebars.ts b/sidebars.ts
index 11c5b4889..5f1ce56e6 100644
--- a/sidebars.ts
+++ b/sidebars.ts
@@ -19,21 +19,25 @@ const sidebars: SidebarsConfig = {
       label: 'Introduction',
       link: {type: 'doc', id: 'introduction/overview'},
       items: [{type: 'autogenerated', dirName: 'introduction'}],
+      collapsed: false,
     },
     {
       type: 'category',
       label: 'Start',
       items: [{type: 'autogenerated', dirName: 'start'}],
+      collapsed: false,
     },
     {
       type: 'category',
       label: 'Schema IDL & Compiler',
       items: [{type: 'autogenerated', dirName: 'compiler'}],
+      collapsed: true,
     },
     {
       type: 'category',
       label: 'Guide',
       items: [{type: 'autogenerated', dirName: 'guide'}],
+      collapsed: false,
     },
   ],
   specificationSidebar: [{type: 'autogenerated', dirName: 'specification'}],


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to