Skip to content

Commit 6ab2d1c

Browse files
committed
docs(sidebar): remove collapsed sections and reduce duplication
- Remove collapsed sections from API Server, Web Dashboard, and Mobile Client - Remove Customization Guides section - This change reduces duplication of content across pages and makes the sidebar less crowded, focusing on the most important links
1 parent 893e0cf commit 6ab2d1c

File tree

1 file changed

+0
-134
lines changed

1 file changed

+0
-134
lines changed

astro.config.mjs

Lines changed: 0 additions & 134 deletions
Original file line numberDiff line numberDiff line change
@@ -33,53 +33,6 @@ export default defineConfig({
3333
items: [
3434
{ label: 'Introduction', link: '/api-server/' },
3535
{ label: 'Local Setup', link: '/api-server/local-setup' },
36-
{
37-
label: 'Features',
38-
collapsed: true,
39-
items: [
40-
{ label: 'Overview', link: '/api-server/features/' },
41-
{ label: 'Authentication', link: '/api-server/features/authentication' },
42-
{ label: 'User Data Sync', link: '/api-server/features/user-data-sync' },
43-
{ label: 'Email Service', link: '/api-server/features/email-service' },
44-
{ label: 'Data Management', link: '/api-server/features/data-management-api' },
45-
{ label: 'RBAC', link: '/api-server/features/rbac' },
46-
{ label: 'Rate Limiting', link: '/api-server/features/rate-limiting' },
47-
],
48-
},
49-
{
50-
label: 'Guides',
51-
collapsed: true,
52-
items: [
53-
{ label: 'Overview', link: '/api-server/guides/' },
54-
{ label: 'Configure Environment Variables', link: '/api-server/guides/configure-environment-variables' },
55-
{ label: 'Configure MongoDB', link: '/api-server/guides/configure-mongodb' },
56-
{ label: 'Configure CORS', link: '/api-server/guides/configure-cors' },
57-
{ label: 'Implement an Alternative Email Client', link: '/api-server/guides/implement-alternative-email-client' },
58-
],
59-
},
60-
{
61-
label: 'Architecture',
62-
collapsed: true,
63-
items: [
64-
{ label: 'Overview', link: '/api-server/architecture/' },
65-
{ label: 'Dependency Injection', link: '/api-server/architecture/dependency-injection' },
66-
{ label: 'Middleware & Request Lifecycle', link: '/api-server/architecture/middleware' },
67-
{ label: 'Generic Data Endpoint & Registries', link: '/api-server/architecture/generic-data-endpoint' },
68-
{ label: 'Deep Dive: Data Access Flow', link: '/api-server/architecture/data-access-flow' },
69-
{ label: 'Data Seeding & System Initialization', link: '/api-server/architecture/data-seeding-and-fixtures' },
70-
{ label: 'Error Handling', link: '/api-server/architecture/error-handling' },
71-
],
72-
},
73-
{
74-
label: 'Reference',
75-
collapsed: true,
76-
items: [
77-
{ label: 'Overview', link: '/api-server/reference/' },
78-
{ label: 'Authentication', link: '/api-server/reference/authentication' },
79-
{ label: 'Data Access', link: '/api-server/reference/data-access' },
80-
{ label: 'Core Data Models', link: '/api-server/reference/core-models' },
81-
],
82-
},
8336
{ label: 'Deployment', link: '/api-server/deployment' },
8437
],
8538
},
@@ -89,43 +42,6 @@ export default defineConfig({
8942
items: [
9043
{ label: 'Introduction', link: '/web-dashboard/' },
9144
{ label: 'Local Setup', link: '/web-dashboard/local-setup' },
92-
{
93-
label: 'Features',
94-
collapsed: true,
95-
items: [
96-
{ label: 'Dashboard Overview', link: '/web-dashboard/features/dashboard-overview' },
97-
{ label: 'Content Management', link: '/web-dashboard/features/content-management' },
98-
{ label: 'App Configuration', link: '/web-dashboard/features/app-configuration' },
99-
{ label: 'Authentication', link: '/web-dashboard/features/authentication' },
100-
],
101-
},
102-
{
103-
label: 'Architecture',
104-
collapsed: true,
105-
items: [
106-
{ label: 'Overview', link: '/web-dashboard/architecture/' },
107-
{ label: 'State Management (BLoC)', link: '/web-dashboard/architecture/state-management' },
108-
{ label: 'Routing (go_router)', link: '/web-dashboard/architecture/routing' },
109-
{ label: 'Data Loading Strategy', link: '/web-dashboard/architecture/data-loading-strategy' },
110-
],
111-
},
112-
{
113-
label: 'Guides',
114-
collapsed: true,
115-
items: [
116-
{ label: 'Styling & Theming', link: '/web-dashboard/guides/styling-and-theming' },
117-
{ label: 'Localization', link: '/web-dashboard/guides/localization' },
118-
],
119-
},
120-
{
121-
label: 'Manuals',
122-
collapsed: true,
123-
items: [
124-
{ label: 'Managing Content', link: '/web-dashboard/manuals/managing-content' },
125-
{ label: 'Configuring the Mobile App', link: '/web-dashboard/manuals/configuring-the-app' },
126-
{ label: 'Managing Your Admin Account', link: '/web-dashboard/manuals/managing-admin-account' },
127-
],
128-
},
12945
{ label: 'Deployment', link: '/web-dashboard/deployment' },
13046
],
13147
},
@@ -135,59 +51,9 @@ export default defineConfig({
13551
items: [
13652
{ label: 'Introduction', link: '/mobile-client/' },
13753
{ label: 'Local Setup', link: '/mobile-client/local-setup' },
138-
{
139-
label: 'Architecture',
140-
collapsed: true,
141-
items: [
142-
{ label: 'Overview', link: '/mobile-client/architecture/' },
143-
{ label: 'State Management (BLoC)', link: '/mobile-client/architecture/state-management' },
144-
{ label: 'Routing & Navigation', link: '/mobile-client/architecture/routing' },
145-
{ label: 'Error Handling', link: '/mobile-client/architecture/error-handling' },
146-
{ label: 'Shared Components', link: '/mobile-client/architecture/shared-components' },
147-
],
148-
},
149-
{
150-
label: 'Guides',
151-
collapsed: true,
152-
items: [
153-
{ label: 'Styling & Theming', link: '/mobile-client/guides/styling-and-theming' },
154-
{ label: 'Localization', link: '/mobile-client/guides/localization' },
155-
],
156-
},
157-
{
158-
label: 'Features',
159-
collapsed: true,
160-
items: [
161-
{ label: 'Overview', link: '/mobile-client/features/' },
162-
{ label: 'Account', link: '/mobile-client/features/account' },
163-
{ label: 'Authentication', link: '/mobile-client/features/authentication' },
164-
{ label: 'Ad System', link: '/mobile-client/features/ad-system' },
165-
{ label: 'Headlines Feed', link: '/mobile-client/features/headlines-feed' },
166-
{ label: 'Headline Details', link: '/mobile-client/features/headline-details' },
167-
{ label: 'Entity Details', link: '/mobile-client/features/entity-details' },
168-
{ label: 'Search', link: '/mobile-client/features/search' },
169-
{ label: 'Settings', link: '/mobile-client/features/settings' },
170-
{ label: 'Status Pages', link: '/mobile-client/features/status-pages' },
171-
],
172-
},
17354
{ label: 'Deployment', link: '/mobile-client/deployment' },
17455
],
17556
},
176-
{
177-
label: 'Customization Guides',
178-
collapsed: true,
179-
items: [
180-
{ label: 'Overview', link: '/customization/' },
181-
{
182-
label: 'Hosting Packages for Customization',
183-
link: '/customization/hosting-packages-for-customization',
184-
},
185-
{
186-
label: 'Guide: Customizing the UI Theme',
187-
link: '/customization/guide-customizing-the-ui',
188-
},
189-
],
190-
},
19157
],
19258
}),
19359
],

0 commit comments

Comments
 (0)