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

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


The following commit(s) were added to refs/heads/main by this push:
     new 2c23b642b Add compiler sidebar (#393)
2c23b642b is described below

commit 2c23b642b70a56bdabd1e8f5e7059c71c96bcbdf
Author: Shawn Yang <[email protected]>
AuthorDate: Wed Jan 21 15:59:07 2026 +0800

    Add compiler sidebar (#393)
---
 docs/compiler/_category_.json | 4 +++-
 docusaurus.config.ts          | 2 +-
 sidebars.ts                   | 9 +++++++++
 3 files changed, 13 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 a1293c1fd..5f1ce56e6 100644
--- a/sidebars.ts
+++ b/sidebars.ts
@@ -19,16 +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