@@ -112,6 +112,121 @@ const sidebar12x = {
112112 ] ,
113113} ;
114114
115+ const sidebar13x = {
116+ '/13.x/docs/' : [
117+ {
118+ text : 'Getting started' ,
119+ items : [
120+ { text : 'Introduction' , link : '/13.x/docs/start/intro' } ,
121+ { text : 'Quick Start' , link : '/13.x/docs/start/quick-start' } ,
122+ ] ,
123+ } ,
124+ {
125+ text : 'API reference' ,
126+ items : [
127+ { text : 'Render function' , link : '/13.x/docs/api/render' } ,
128+ { text : 'Screen object' , link : '/13.x/docs/api/screen' } ,
129+ { text : 'Queries' , link : '/13.x/docs/api/queries' } ,
130+ { text : 'Jest Matchers' , link : '/13.x/docs/api/jest-matchers' } ,
131+ {
132+ text : 'Triggering events' ,
133+ items : [
134+ { text : 'Fire Event' , link : '/13.x/docs/api/events/fire-event' } ,
135+ { text : 'User Event' , link : '/13.x/docs/api/events/user-event' } ,
136+ ] ,
137+ } ,
138+ {
139+ text : 'Miscellaneous' ,
140+ items : [
141+ {
142+ text : 'Accessibility' ,
143+ link : '/13.x/docs/api/misc/accessibility' ,
144+ } ,
145+ { text : 'Async utilities' , link : '/13.x/docs/api/misc/async' } ,
146+ { text : 'Config' , link : '/13.x/docs/api/misc/config' } ,
147+ { text : 'Other' , link : '/13.x/docs/api/misc/other' } ,
148+ { text : 'Render Hook' , link : '/13.x/docs/api/misc/render-hook' } ,
149+ ] ,
150+ } ,
151+ ] ,
152+ } ,
153+ {
154+ text : 'Guides' ,
155+ items : [
156+ { text : 'How to Query' , link : '/13.x/docs/guides/how-to-query' } ,
157+ { text : 'Common Mistakes' , link : '/13.x/docs/guides/common-mistakes' } ,
158+ { text : 'React 19' , link : '/13.x/docs/guides/react-19' } ,
159+ { text : 'LLM Guidelines' , link : '/13.x/docs/guides/llm-guidelines' } ,
160+ { text : 'Troubleshooting' , link : '/13.x/docs/guides/troubleshooting' } ,
161+ { text : 'FAQ' , link : '/13.x/docs/guides/faq' } ,
162+ {
163+ text : 'Community Resources' ,
164+ link : '/13.x/docs/guides/community-resources' ,
165+ } ,
166+ ] ,
167+ } ,
168+ {
169+ text : 'Advanced Guides' ,
170+ items : [
171+ {
172+ text : 'Testing Environment' ,
173+ link : '/13.x/docs/advanced/testing-env' ,
174+ } ,
175+ {
176+ text : 'Third-party Integration' ,
177+ link : '/13.x/docs/advanced/third-party-integration' ,
178+ } ,
179+ {
180+ text : 'Understanding Act' ,
181+ link : '/13.x/docs/advanced/understanding-act' ,
182+ } ,
183+ ] ,
184+ } ,
185+ {
186+ text : 'Migration Guides' ,
187+ collapsed : true ,
188+ items : [
189+ { text : 'v13 Migration' , link : '/13.x/docs/migration/v13' } ,
190+ { text : 'Jest Matchers' , link : '/13.x/docs/migration/jest-matchers' } ,
191+ {
192+ text : 'Previous versions' ,
193+ collapsed : true ,
194+ items : [
195+ { text : 'v12' , link : '/13.x/docs/migration/previous/v12' } ,
196+ { text : 'v11' , link : '/13.x/docs/migration/previous/v11' } ,
197+ { text : 'v9' , link : '/13.x/docs/migration/previous/v9' } ,
198+ { text : 'v7' , link : '/13.x/docs/migration/previous/v7' } ,
199+ { text : 'v2' , link : '/13.x/docs/migration/previous/v2' } ,
200+ ] ,
201+ } ,
202+ ] ,
203+ } ,
204+ ] ,
205+ '/13.x/cookbook/' : [
206+ { text : 'Cookbook' , link : '/13.x/cookbook/' } ,
207+ {
208+ text : 'Basic Recipes' ,
209+ items : [
210+ { text : 'Async Tests' , link : '/13.x/cookbook/basics/async-tests' } ,
211+ { text : 'Custom Render' , link : '/13.x/cookbook/basics/custom-render' } ,
212+ ] ,
213+ } ,
214+ {
215+ text : 'Advanced Recipes' ,
216+ items : [
217+ {
218+ text : 'Network Requests' ,
219+ link : '/13.x/cookbook/advanced/network-requests' ,
220+ } ,
221+ ] ,
222+ } ,
223+ {
224+ text : 'State Management Recipes' ,
225+ items : [ { text : 'Jotai' , link : '/13.x/cookbook/state-management/jotai' } ] ,
226+ } ,
227+ ] ,
228+ } ;
229+
115230const sidebar14x = {
116231 '/14.x/docs/' : [
117232 {
@@ -348,6 +463,7 @@ export default defineConfig({
348463 sidebar : {
349464 ...sidebarDefault ,
350465 ...sidebar12x ,
466+ ...sidebar13x ,
351467 ...sidebar14x ,
352468 } ,
353469 } ,
0 commit comments