Skip to content

Commit 70efffd

Browse files
committed
feat(sidebars): add 'Customize' sidebar for enhanced navigation and restructure sidebar categories
1 parent 4309cfa commit 70efffd

File tree

3 files changed

+44
-39
lines changed

3 files changed

+44
-39
lines changed

docs/local-agent/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 自定义本地智能体

docusaurus.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ const config = {
8787
position: 'left',
8888
label: 'Architecture',
8989
},
90+
{
91+
type: 'docSidebar',
92+
sidebarId: 'customizeSidebar',
93+
position: 'left',
94+
label: 'Customize',
95+
},
9096
{
9197
type: 'localeDropdown',
9298
position: 'right',

sidebars.js

Lines changed: 37 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,6 @@ const sidebars = {
2121
'features/works-with-review',
2222
],
2323
},
24-
{
25-
type: 'category',
26-
label: 'Customize Features',
27-
items: [
28-
'customize/customize',
29-
'customize/batch-ai-action',
30-
'customize/custom-action',
31-
'customize/custom-ext-contenxt-agent',
32-
'customize/custom-living-documentation',
33-
'customize/custom-llm-server',
34-
'customize/custom-quick-action',
35-
'customize/custom-test-template',
36-
'customize/prompt-override',
37-
'customize/team-prompts',
38-
'customize/variables',
39-
],
40-
},
4124
{
4225
type: 'category',
4326
label: 'Agentic Coding',
@@ -54,28 +37,6 @@ const sidebars = {
5437
'agent/bridge/bridge-tool',
5538
],
5639
},
57-
{
58-
type: 'category',
59-
label: 'Custom Remote Agent',
60-
items: [
61-
'agent/agent',
62-
'agent/agent-action',
63-
'agent/custom-ai-agent',
64-
'agent/custom-request-response',
65-
'agent/server-example',
66-
],
67-
},
68-
{
69-
type: 'category',
70-
label: 'AI Agent Language',
71-
items: [
72-
'devins/quick-start',
73-
'devins/devins',
74-
'devins/devins-language',
75-
'devins/orchestration',
76-
'devins/development',
77-
],
78-
},
7940
{
8041
type: 'category',
8142
label: 'MCP',
@@ -149,6 +110,43 @@ const sidebars = {
149110
],
150111
}
151112
],
113+
customizeSidebar: [
114+
{
115+
type: 'category',
116+
label: 'Customize Features',
117+
items: [
118+
'customize/customize',
119+
'customize/batch-ai-action',
120+
'customize/custom-action',
121+
'customize/custom-ext-contenxt-agent',
122+
'customize/custom-living-documentation',
123+
'customize/custom-llm-server',
124+
'customize/custom-quick-action',
125+
'customize/custom-test-template',
126+
'customize/prompt-override',
127+
'customize/team-prompts',
128+
'customize/variables',
129+
],
130+
},
131+
{
132+
type: 'category',
133+
label: 'Custom Remote Agent',
134+
items: [
135+
'agent/agent',
136+
'agent/agent-action',
137+
'agent/custom-ai-agent',
138+
'agent/custom-request-response',
139+
'agent/server-example',
140+
],
141+
},
142+
{
143+
type: 'category',
144+
label: 'Custom Local Agent',
145+
items: [
146+
'local-agent/index'
147+
],
148+
},
149+
],
152150
}
153151

154152
export default sidebars

0 commit comments

Comments
 (0)