@@ -19,9 +19,8 @@ export default defineConfig({
1919
2020 nav : [
2121 { text : 'Home' , link : '/' } ,
22- { text : 'Guide' , link : '/guide/' } ,
23- { text : 'Examples' , link : '/examples/' } ,
24- { text : 'API' , link : '/api/' } ,
22+ { text : 'Guide' , link : '/getting-started/installation' } ,
23+ { text : 'Examples' , link : '/examples/counter' } ,
2524 {
2625 text : 'GitHub' ,
2726 link : 'https://github.com/diffyne/diffyne' ,
@@ -30,65 +29,54 @@ export default defineConfig({
3029 ] ,
3130
3231 sidebar : {
33- '/guide/ ' : [
32+ '/' : [
3433 {
3534 text : 'Getting Started' ,
3635 items : [
37- { text : 'Introduction' , link : '/guide/' } ,
38- { text : 'Installation' , link : '/guide/installation' } ,
39- { text : 'Quick Start' , link : '/guide/quickstart' } ,
40- { text : 'Your First Component' , link : '/guide/first-component' }
36+ { text : 'Installation' , link : '/getting-started/installation' } ,
37+ { text : 'Quick Start' , link : '/getting-started/quickstart' } ,
38+ { text : 'Your First Component' , link : '/getting-started/first-component' }
4139 ]
4240 } ,
4341 {
44- text : 'Core Concepts ' ,
42+ text : 'Features ' ,
4543 items : [
46- { text : 'Components' , link : '/guide/components' } ,
47- { text : 'Properties & State' , link : '/guide/properties' } ,
48- { text : 'Methods & Actions' , link : '/guide/methods' } ,
49- { text : 'Lifecycle Hooks' , link : '/guide/lifecycle' }
44+ { text : 'Directives' , link : '/features/directives' } ,
45+ { text : 'Attributes' , link : '/features/attributes' } ,
46+ { text : 'Click Events' , link : '/features/click-events' } ,
47+ { text : 'Data Binding' , link : '/features/data-binding' } ,
48+ { text : 'Forms' , link : '/features/forms' } ,
49+ { text : 'Validation' , link : '/features/validation' } ,
50+ { text : 'Query String Binding' , link : '/features/query-string' } ,
51+ { text : 'Polling' , link : '/features/polling' } ,
52+ { text : 'Loading States' , link : '/features/loading-states' } ,
53+ { text : 'Error Handling' , link : '/features/error-handling' } ,
54+ { text : 'Component Events' , link : '/features/component-events' } ,
55+ { text : 'Redirects' , link : '/features/redirects' } ,
56+ { text : 'Pagination' , link : '/features/pagination' }
5057 ]
5158 } ,
5259 {
53- text : 'Building UIs ' ,
60+ text : 'Advanced ' ,
5461 items : [
55- { text : 'Directives' , link : '/guide/directives' } ,
56- { text : 'Event Handling' , link : '/guide/events' } ,
57- { text : 'Data Binding' , link : '/guide/data-binding' } ,
58- { text : 'Forms' , link : '/guide/forms' } ,
59- { text : 'Validation' , link : '/guide/validation' }
62+ { text : 'Component State' , link : '/advanced/component-state' } ,
63+ { text : 'Lifecycle Hooks' , link : '/advanced/lifecycle-hooks' } ,
64+ { text : 'Virtual DOM' , link : '/advanced/virtual-dom' } ,
65+ { text : 'Security' , link : '/advanced/security' } ,
66+ { text : 'Performance' , link : '/advanced/performance' } ,
67+ { text : 'Testing' , link : '/advanced/testing' } ,
68+ { text : 'WebSocket Transport' , link : '/advanced/websocket' }
6069 ]
6170 } ,
62- {
63- text : 'Advanced Features' ,
64- items : [
65- { text : 'Query String Binding' , link : '/guide/query-string' } ,
66- { text : 'Polling & Real-time' , link : '/guide/polling' } ,
67- { text : 'Loading States' , link : '/guide/loading-states' } ,
68- { text : 'Error Handling' , link : '/guide/error-handling' } ,
69- { text : 'Component Events' , link : '/guide/component-events' } ,
70- { text : 'Redirects' , link : '/guide/redirects' }
71- ]
72- } ,
73- {
74- text : 'Advanced Topics' ,
75- items : [
76- { text : 'Security' , link : '/guide/security' } ,
77- { text : 'Performance' , link : '/guide/performance' } ,
78- { text : 'Testing' , link : '/guide/testing' } ,
79- { text : 'WebSocket Transport' , link : '/guide/websocket' }
80- ]
81- }
82- ] ,
83- '/examples/' : [
8471 {
8572 text : 'Examples' ,
8673 items : [
8774 { text : 'Counter' , link : '/examples/counter' } ,
8875 { text : 'Todo List' , link : '/examples/todo-list' } ,
8976 { text : 'Contact Form' , link : '/examples/contact-form' } ,
9077 { text : 'Search' , link : '/examples/search' } ,
91- { text : 'Confirmation Modal' , link : '/examples/confirmation-modal' }
78+ { text : 'Confirmation Modal' , link : '/examples/confirmation-modal' } ,
79+ { text : 'Page Change Logger' , link : '/examples/page-change-logger' }
9280 ]
9381 }
9482 ]
@@ -100,7 +88,7 @@ export default defineConfig({
10088
10189 footer : {
10290 message : 'Released under the MIT License.' ,
103- copyright : 'Copyright © 2024 Diffyne'
91+ copyright : 'Copyright © 2025 Diffyne'
10492 } ,
10593
10694 search : {
0 commit comments