Skip to content

Commit abd2a94

Browse files
deblasiscursoragent
andcommitted
fix(nav): sync sidebar titles with page frontmatter
Match leaf and chapter sidebar labels to each page's title field. Keep section root titles as nav labels (Impara React, Riferimento API). Signed-off-by: Alessandro De Blasis <alex@deblasis.net> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c7ecb08 commit abd2a94

5 files changed

Lines changed: 67 additions & 69 deletions

File tree

src/sidebarBlog.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sectionHeader": "RESTA AGGIORNATO"
88
},
99
{
10-
"title": "Blog",
10+
"title": "React Blog",
1111
"path": "/blog",
1212
"skipBreadcrumb": true,
1313
"routes": [
@@ -82,14 +82,14 @@
8282
"path": "/blog/2025/02/14/sunsetting-create-react-app"
8383
},
8484
{
85-
"title": "React 19",
85+
"title": "React v19",
8686
"titleForHomepage": "React 19",
8787
"icon": "blog",
8888
"date": "December 05, 2024",
8989
"path": "/blog/2024/12/05/react-19"
9090
},
9191
{
92-
"title": "React Compiler Beta Release and Roadmap",
92+
"title": "React Compiler Beta Release",
9393
"titleForHomepage": "React Compiler Beta Release and Roadmap",
9494
"icon": "blog",
9595
"date": "October 21, 2024",
@@ -110,7 +110,7 @@
110110
"path": "/blog/2024/04/25/react-19"
111111
},
112112
{
113-
"title": "React 19 RC Upgrade Guide",
113+
"title": "React 19 Upgrade Guide",
114114
"titleForHomepage": "React 19 RC Upgrade Guide",
115115
"icon": "blog",
116116
"date": "April 25, 2024",
@@ -180,7 +180,7 @@
180180
"path": "/blog/2021/06/08/the-plan-for-react-18"
181181
},
182182
{
183-
"title": "Introducing Server Components",
183+
"title": "Introducing Zero-Bundle-Size React Server Components",
184184
"titleForHomepage": "Introducing Server Components",
185185
"icon": "labs",
186186
"date": "December 21, 2020",

src/sidebarCommunity.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
{
2-
"title": "Community",
2+
"title": "Comunità",
33
"path": "/community",
44
"routes": [
55
{
66
"hasSectionHeader": true,
77
"sectionHeader": "PARTECIPA"
88
},
99
{
10-
"title": "Community",
10+
"title": "React Community",
1111
"path": "/community",
1212
"skipBreadcrumb": true,
1313
"routes": [
1414
{
15-
"title": "Conferenze React",
15+
"title": "React Conferences",
1616
"path": "/community/conferences"
1717
},
1818
{
19-
"title": "Meetup React",
19+
"title": "React Meetups",
2020
"path": "/community/meetups"
2121
},
2222
{
23-
"title": "Video React",
23+
"title": "React Videos",
2424
"path": "/community/videos"
2525
},
2626
{
27-
"title": "Incontra il Team",
27+
"title": "Meet the Team",
2828
"path": "/community/team"
2929
},
3030
{
31-
"title": "Contributori alla Documentazione",
31+
"title": "Docs Contributors",
3232
"path": "/community/docs-contributors"
3333
},
3434
{
35-
"title": "Traduzioni",
35+
"title": "Translations",
3636
"path": "/community/translations"
3737
},
3838
{
39-
"title": "Ringraziamenti",
39+
"title": "Acknowledgements",
4040
"path": "/community/acknowledgements"
4141
},
4242
{
43-
"title": "Politica di Versionamento",
43+
"title": "Versioning Policy",
4444
"path": "/community/versioning-policy"
4545
}
4646
]

src/sidebarHome.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "Documentazione React",
2+
"title": "React",
33
"path": "/",
44
"routes": [
55
{
@@ -35,7 +35,7 @@
3535
"path": "/learn/adding-interactivity"
3636
},
3737
{
38-
"title": "Gestione dello State",
38+
"title": "Gestione dello state",
3939
"path": "/learn/managing-state"
4040
},
4141
{
@@ -47,71 +47,71 @@
4747
"sectionHeader": "API REACT"
4848
},
4949
{
50-
"title": "Hooks",
50+
"title": "Panoramica della documentazione di React",
5151
"path": "/reference/react"
5252
},
5353
{
54-
"title": "Componenti",
54+
"title": "Built-in React Components",
5555
"path": "/reference/react/components"
5656
},
5757
{
58-
"title": "API",
58+
"title": "Built-in React APIs",
5959
"path": "/reference/react/apis"
6060
},
6161
{
62-
"title": "API Legacy",
62+
"title": "Legacy React APIs",
6363
"path": "/reference/react/legacy"
6464
},
6565
{
6666
"hasSectionHeader": true,
6767
"sectionHeader": "API REACT DOM"
6868
},
6969
{
70-
"title": "Componenti",
70+
"title": "React DOM Components",
7171
"path": "/reference/react-dom/components"
7272
},
7373
{
74-
"title": "API",
74+
"title": "React DOM APIs",
7575
"path": "/reference/react-dom"
7676
},
7777
{
78-
"title": "API Client",
78+
"title": "Client React DOM APIs",
7979
"path": "/reference/react-dom/client"
8080
},
8181
{
82-
"title": "API Server",
82+
"title": "Server React DOM APIs",
8383
"path": "/reference/react-dom/server"
8484
},
8585
{
8686
"hasSectionHeader": true,
8787
"sectionHeader": "API REACT COMPILER"
8888
},
8989
{
90-
"title": "Configurazione",
90+
"title": "Configuration",
9191
"path": "/reference/react-compiler/configuration"
9292
},
9393
{
94-
"title": "Direttive",
94+
"title": "Directives",
9595
"path": "/reference/react-compiler/directives"
9696
},
9797
{
98-
"title": "Compilare Librerie",
98+
"title": "Compiling Libraries",
9999
"path": "/reference/react-compiler/compiling-libraries"
100100
},
101101
{
102102
"hasSectionHeader": true,
103103
"sectionHeader": "PARTECIPA"
104104
},
105105
{
106-
"title": "Community React",
106+
"title": "React Community",
107107
"path": "/community"
108108
},
109109
{
110110
"hasSectionHeader": true,
111111
"sectionHeader": "RESTA AGGIORNATO"
112112
},
113113
{
114-
"title": "Blog React",
114+
"title": "React Blog",
115115
"path": "/blog"
116116
}
117117
]

src/sidebarLearn.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
"path": "/learn/installation",
2626
"routes": [
2727
{
28-
"title": "Creare una App React",
28+
"title": "Creating a React App",
2929
"path": "/learn/creating-a-react-app"
3030
},
3131
{
32-
"title": "Costruire una App React da Zero",
32+
"title": "Build a React app from Scratch",
3333
"path": "/learn/build-a-react-app-from-scratch"
3434
},
3535
{
@@ -43,11 +43,11 @@
4343
"path": "/learn/setup",
4444
"routes": [
4545
{
46-
"title": "Setup dell'editor",
46+
"title": "Editor Setup",
4747
"path": "/learn/editor-setup"
4848
},
4949
{
50-
"title": "Usare TypeScript",
50+
"title": "Using TypeScript",
5151
"path": "/learn/typescript"
5252
},
5353
{
@@ -62,19 +62,19 @@
6262
"canary": true,
6363
"routes": [
6464
{
65-
"title": "Introduzione",
65+
"title": "Introduction",
6666
"path": "/learn/react-compiler/introduction"
6767
},
6868
{
69-
"title": "Installazione",
69+
"title": "Installation",
7070
"path": "/learn/react-compiler/installation"
7171
},
7272
{
73-
"title": "Adozione Incrementale",
73+
"title": "Incremental Adoption",
7474
"path": "/learn/react-compiler/incremental-adoption"
7575
},
7676
{
77-
"title": "Debug e Risoluzione dei Problemi",
77+
"title": "Debugging and Troubleshooting",
7878
"path": "/learn/react-compiler/debugging"
7979
}
8080
]
@@ -121,7 +121,7 @@
121121
"path": "/learn/keeping-components-pure"
122122
},
123123
{
124-
"title": "La Tua UI come un Albero",
124+
"title": "Understanding Your UI as a Tree",
125125
"path": "/learn/understanding-your-ui-as-a-tree"
126126
}
127127
]
@@ -162,7 +162,7 @@
162162
]
163163
},
164164
{
165-
"title": "Gestione dello State",
165+
"title": "Gestione dello state",
166166
"path": "/learn/managing-state",
167167
"tags": [
168168
"intermediate"
@@ -173,7 +173,7 @@
173173
"path": "/learn/reacting-to-input-with-state"
174174
},
175175
{
176-
"title": "Scegliere la Struttura dello State",
176+
"title": "Scegliere la struttura dello state",
177177
"path": "/learn/choosing-the-state-structure"
178178
},
179179
{

0 commit comments

Comments
 (0)