11import { INTRODUCTION_LAYER } from "@/app/docs/docs-data/docs-page-layers/introduction" ;
2+ import { QUICK_START_LAYER } from "@/app/docs/docs-data/docs-page-layers/quick-start" ;
3+ import { COMPONENT_REGISTRY_LAYER } from "@/app/docs/docs-data/docs-page-layers/component-registry" ;
4+ import { FIELD_OVERRIDES_LAYER } from "@/app/docs/docs-data/docs-page-layers/field-overrides" ;
5+ import { CUSTOM_COMPONENTS_LAYER } from "@/app/docs/docs-data/docs-page-layers/custom-components" ;
6+ import { CANVAS_EDITOR_LAYER } from "@/app/docs/docs-data/docs-page-layers/canvas-editor" ;
7+ import { PAGES_PANEL_LAYER } from "@/app/docs/docs-data/docs-page-layers/pages-panel" ;
8+ import { VARIABLES_PANEL_LAYER } from "@/app/docs/docs-data/docs-page-layers/variables-panel" ;
9+ import { PROPS_PANEL_LAYER } from "@/app/docs/docs-data/docs-page-layers/props-panel" ;
10+ import { APPEARANCE_PANEL_LAYER } from "@/app/docs/docs-data/docs-page-layers/appearance-panel" ;
11+ import { IMMUTABLE_PAGES_LAYER } from "@/app/docs/docs-data/docs-page-layers/immutable-pages" ;
12+ import { PANEL_CONFIGURATION_LAYER } from "@/app/docs/docs-data/docs-page-layers/panel-configuration" ;
13+ import { VARIABLES_LAYER } from "@/app/docs/docs-data/docs-page-layers/variables" ;
14+ import { VARIABLE_BINDING_LAYER } from "@/app/docs/docs-data/docs-page-layers/variable-binding" ;
15+ import { READ_ONLY_MODE_LAYER } from "@/app/docs/docs-data/docs-page-layers/read-only-mode" ;
16+ import { DATA_BINDING_LAYER } from "@/app/docs/docs-data/docs-page-layers/data-binding" ;
17+ import { LAYER_STRUCTURE_LAYER } from "@/app/docs/docs-data/docs-page-layers/layer-structure" ;
18+ import { PERSISTENCE_LAYER } from "@/app/docs/docs-data/docs-page-layers/persistence" ;
19+ import { RENDERING_PAGES_LAYER } from "@/app/docs/docs-data/docs-page-layers/rendering-pages" ;
20+ import { PAGE_THEMING_LAYER } from "@/app/docs/docs-data/docs-page-layers/page-theming" ;
21+ import { EDITOR_PANEL_CONFIG_LAYER } from "@/app/docs/docs-data/docs-page-layers/editor-panel-config" ;
22+ import { PROPS_PANEL_CUSTOMIZATION_LAYER } from "@/app/docs/docs-data/docs-page-layers/props-panel-customization" ;
223
324export const DOCS_PAGES = [
4- INTRODUCTION_LAYER
25+ // Core
26+ INTRODUCTION_LAYER ,
27+ QUICK_START_LAYER ,
28+
29+ // Component System
30+ COMPONENT_REGISTRY_LAYER ,
31+ CUSTOM_COMPONENTS_LAYER ,
32+ FIELD_OVERRIDES_LAYER ,
33+
34+ // Editor Features
35+ CANVAS_EDITOR_LAYER ,
36+ PAGES_PANEL_LAYER ,
37+ IMMUTABLE_PAGES_LAYER ,
38+ APPEARANCE_PANEL_LAYER ,
39+ PROPS_PANEL_LAYER ,
40+ VARIABLES_PANEL_LAYER ,
41+ PANEL_CONFIGURATION_LAYER ,
42+ EDITOR_PANEL_CONFIG_LAYER ,
43+ PROPS_PANEL_CUSTOMIZATION_LAYER ,
44+
45+ // Data & Variables
46+ VARIABLES_LAYER ,
47+ VARIABLE_BINDING_LAYER ,
48+ READ_ONLY_MODE_LAYER ,
49+ DATA_BINDING_LAYER ,
50+
51+ // Layout & Persistence
52+ LAYER_STRUCTURE_LAYER ,
53+ PERSISTENCE_LAYER ,
54+
55+ // Rendering
56+ RENDERING_PAGES_LAYER ,
57+ PAGE_THEMING_LAYER ,
58+
559] as const ;
660
761type ExistingDocPageNames = `${Capitalize < ( typeof DOCS_PAGES ) [ number ] [ "name" ] > } `;
@@ -12,8 +66,8 @@ type ExistingDocGroupNames = `${Capitalize<(typeof DOCS_PAGES)[0]["props"]["data
1266type DocPageNavItem = {
1367 title : ExistingDocGroupNames | string ;
1468 items : {
15- title : ExistingDocPageNames | string ;
16- url : `/${ ExistingDocPageIds } ` | ` /${string } `;
69+ title : ExistingDocPageNames ;
70+ url : `/docs /${ExistingDocPageIds } `;
1771 } [ ] ;
1872}
1973
@@ -23,32 +77,28 @@ export const MENU_DATA: DocPageNavItem[] = [
2377 items : [
2478 {
2579 title : "Introduction" ,
26- url : "/introduction" ,
80+ url : "/docs/ introduction" ,
2781 } ,
2882 {
2983 title : "Quick Start" ,
30- url : "/quick-start" ,
84+ url : "/docs/ quick-start" ,
3185 } ,
3286 ] ,
3387 } ,
3488 {
3589 title : "Component System" ,
3690 items : [
3791 {
38- title : "Component Registry " ,
39- url : "/component-registry" ,
92+ title : "Getting Started with Components " ,
93+ url : "/docs/ component-registry" ,
4094 } ,
4195 {
42- title : "Field Overrides " ,
43- url : "/field-overrides " ,
96+ title : "Creating Custom Components " ,
97+ url : "/docs/custom-components " ,
4498 } ,
4599 {
46- title : "Default Children" ,
47- url : "/default-children" ,
48- } ,
49- {
50- title : "Custom Components" ,
51- url : "/custom-components" ,
100+ title : "Advanced Component Configuration" ,
101+ url : "/docs/field-overrides" ,
52102 }
53103 ] ,
54104 } ,
@@ -57,43 +107,39 @@ export const MENU_DATA: DocPageNavItem[] = [
57107 items : [
58108 {
59109 title : "Canvas Editor" ,
60- url : "/canvas-editor" ,
110+ url : "/docs/ canvas-editor" ,
61111 } ,
62112 {
63113 title : "Pages Panel" ,
64- url : "/pages-panel" ,
114+ url : "/docs/ pages-panel" ,
65115 } ,
66116 {
67117 title : "Immutable Pages" ,
68- url : "/immutable-pages" ,
118+ url : "/docs/ immutable-pages" ,
69119 } ,
70120 {
71121 title : "Appearance Panel" ,
72- url : "/appearance-panel" ,
122+ url : "/docs/ appearance-panel" ,
73123 } ,
74124 {
75125 title : "Props Panel" ,
76- url : "/props-panel" ,
126+ url : "/docs/ props-panel" ,
77127 } ,
78128 {
79129 title : "Variables Panel" ,
80- url : "/variables-panel" ,
130+ url : "/docs/ variables-panel" ,
81131 } ,
82132 {
83133 title : "Panel Configuration" ,
84- url : "/panel-configuration" ,
134+ url : "/docs/ panel-configuration" ,
85135 } ,
86136 {
87137 title : "Editor Panel Config" ,
88- url : "/editor-panel-config" ,
89- } ,
90- {
91- title : "NavBar Customization" ,
92- url : "/navbar-customization" ,
138+ url : "/docs/editor-panel-config" ,
93139 } ,
94140 {
95141 title : "Props Panel Customization" ,
96- url : "/props-panel-customization" ,
142+ url : "/docs/ props-panel-customization" ,
97143 } ,
98144 ] ,
99145 } ,
@@ -102,19 +148,19 @@ export const MENU_DATA: DocPageNavItem[] = [
102148 items : [
103149 {
104150 title : "Variables" ,
105- url : "/variables" ,
151+ url : "/docs/ variables" ,
106152 } ,
107153 {
108154 title : "Variable Binding" ,
109- url : "/variable-binding" ,
155+ url : "/docs/ variable-binding" ,
110156 } ,
111157 {
112- title : "Read- Only Mode" ,
113- url : "/read-only-mode" ,
158+ title : "Read Only Mode" ,
159+ url : "/docs/ read-only-mode" ,
114160 } ,
115161 {
116162 title : "Data Binding" ,
117- url : "/data-binding" ,
163+ url : "/docs/ data-binding" ,
118164 } ,
119165 ] ,
120166 } ,
@@ -123,15 +169,11 @@ export const MENU_DATA: DocPageNavItem[] = [
123169 items : [
124170 {
125171 title : "Layer Structure" ,
126- url : "/layer-structure" ,
127- } ,
128- {
129- title : "Persistence" ,
130- url : "/persistence" ,
172+ url : "/docs/layer-structure" ,
131173 } ,
132174 {
133- title : "Persist Layer Store " ,
134- url : "/persist-layer-store " ,
175+ title : "State Management & Persistence " ,
176+ url : "/docs/persistence " ,
135177 } ,
136178 ] ,
137179 } ,
@@ -140,27 +182,14 @@ export const MENU_DATA: DocPageNavItem[] = [
140182 items : [
141183 {
142184 title : "Rendering Pages" ,
143- url : "/rendering-pages" ,
185+ url : "/docs/ rendering-pages" ,
144186 } ,
145187 {
146188 title : "Page Theming" ,
147- url : "/page-theming" ,
189+ url : "/docs/ page-theming" ,
148190 } ,
149191 ] ,
150- } ,
151- {
152- title : "Code & Extensibility" ,
153- items : [
154- {
155- title : "Code Generation" ,
156- url : "/code-generation" ,
157- } ,
158- {
159- title : "Blocks (Planned)" ,
160- url : "/blocks-planned" ,
161- } ,
162- ] ,
163- } ,
192+ }
164193] as const ;
165194
166195
0 commit comments