Skip to content

Commit 6fcb320

Browse files
authored
Fix quickstarts redirects (#2631)
1 parent 62fe2ae commit 6fcb320

File tree

2 files changed

+52
-52
lines changed

2 files changed

+52
-52
lines changed

redirects/dynamic/docs.jsonc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"permanent": true,
4646
},
4747
{
48-
"source": "/docs/:sdk/hooks/:path*",
48+
"source": "/docs/:sdk(astro|chrome-extension|expo|nextjs|react|react-router|remix|tanstack-react-start)/hooks/:path*",
4949
"destination": "/docs/:sdk/reference/hooks/:path*",
5050
"permanent": true,
5151
},
@@ -64,11 +64,6 @@
6464
"destination": "/docs/guides/customizing-clerk/elements/:path*",
6565
"permanent": true,
6666
},
67-
{
68-
"source": "/docs/quickstarts/:path*",
69-
"destination": "/docs/getting-started/quickstart/:path*",
70-
"permanent": true,
71-
},
7267
{
7368
"source": "/docs/references/:path*",
7469
"destination": "/docs/reference/:path*",

redirects/static/docs.json

Lines changed: 51 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@
506506
},
507507
{
508508
"source": "/docs/nextjs/accessing-the-api",
509-
"destination": "/docs/getting-started/quickstart",
509+
"destination": "/docs/nextjs/getting-started/quickstart",
510510
"permanent": true
511511
},
512512
{
@@ -536,7 +536,7 @@
536536
},
537537
{
538538
"source": "/docs/nextjs/build-your-own-pages",
539-
"destination": "/docs/getting-started/quickstart#build-your-own-sign-in-and-sign-up-pages",
539+
"destination": "/docs/nextjs/getting-started/quickstart#build-your-own-sign-in-and-sign-up-pages",
540540
"permanent": true
541541
},
542542
{
@@ -546,7 +546,7 @@
546546
},
547547
{
548548
"source": "/docs/nextjs/configure-middleware",
549-
"destination": "/docs/getting-started/quickstart#protect-your-application",
549+
"destination": "/docs/nextjs/getting-started/quickstart#protect-your-application",
550550
"permanent": true
551551
},
552552
{
@@ -576,7 +576,7 @@
576576
},
577577
{
578578
"source": "/docs/nextjs/get-started-with-nextjs",
579-
"destination": "/docs/getting-started/quickstart",
579+
"destination": "/docs/nextjs/getting-started/quickstart",
580580
"permanent": true
581581
},
582582
{
@@ -606,12 +606,12 @@
606606
},
607607
{
608608
"source": "/docs/nextjs/nextjs-with-app-router",
609-
"destination": "/docs/getting-started/quickstart",
609+
"destination": "/docs/nextjs/getting-started/quickstart",
610610
"permanent": true
611611
},
612612
{
613613
"source": "/docs/nextjs/nextjs-with-pages",
614-
"destination": "/docs/getting-started/quickstart",
614+
"destination": "/docs/getting-started/quickstart/pages-router",
615615
"permanent": true
616616
},
617617
{
@@ -621,7 +621,7 @@
621621
},
622622
{
623623
"source": "/docs/nextjs/organization-object",
624-
"destination": "/docs/getting-started/quickstart#organization-operations",
624+
"destination": "/docs/nextjs/getting-started/quickstart#organization-operations",
625625
"permanent": true
626626
},
627627
{
@@ -641,12 +641,12 @@
641641
},
642642
{
643643
"source": "/docs/nextjs/pages-react",
644-
"destination": "/docs/getting-started/quickstart",
644+
"destination": "/docs/nextjs/getting-started/quickstart",
645645
"permanent": true
646646
},
647647
{
648648
"source": "/docs/nextjs/read-session-and-user-data",
649-
"destination": "/docs/getting-started/quickstart#read-session-user-data",
649+
"destination": "/docs/nextjs/getting-started/quickstart#read-session-user-data",
650650
"permanent": true
651651
},
652652
{
@@ -661,7 +661,7 @@
661661
},
662662
{
663663
"source": "/docs/nextjs/set-environment-keys",
664-
"destination": "/docs/getting-started/quickstart#set-environment-keys",
664+
"destination": "/docs/nextjs/getting-started/quickstart#set-environment-keys",
665665
"permanent": true
666666
},
667667
{
@@ -696,7 +696,7 @@
696696
},
697697
{
698698
"source": "/docs/nextjs/user-object",
699-
"destination": "/docs/getting-started/quickstart#user-operations",
699+
"destination": "/docs/nextjs/getting-started/quickstart#user-operations",
700700
"permanent": true
701701
},
702702
{
@@ -716,7 +716,7 @@
716716
},
717717
{
718718
"source": "/docs/nextjs/v13-beta",
719-
"destination": "/docs/getting-started/quickstart",
719+
"destination": "/docs/nextjs/getting-started/quickstart",
720720
"permanent": true
721721
},
722722
{
@@ -776,17 +776,17 @@
776776
},
777777
{
778778
"source": "/docs/quickstarts/get-started-with-create-react-app",
779-
"destination": "/docs/getting-started/quickstart",
779+
"destination": "/docs/react/getting-started/quickstart",
780780
"permanent": true
781781
},
782782
{
783783
"source": "/docs/quickstarts/get-started-with-expo",
784-
"destination": "/docs/getting-started/quickstart",
784+
"destination": "/docs/expo/getting-started/quickstart",
785785
"permanent": true
786786
},
787787
{
788788
"source": "/docs/quickstarts/get-started-with-fastify",
789-
"destination": "/docs/getting-started/quickstart",
789+
"destination": "/docs/fastify/getting-started/quickstart",
790790
"permanent": true
791791
},
792792
{
@@ -796,7 +796,7 @@
796796
},
797797
{
798798
"source": "/docs/quickstarts/get-started-with-nextjs",
799-
"destination": "/docs/getting-started/quickstart",
799+
"destination": "/docs/nextjs/getting-started/quickstart",
800800
"permanent": true
801801
},
802802
{
@@ -806,7 +806,7 @@
806806
},
807807
{
808808
"source": "/docs/quickstarts/get-started-with-remix",
809-
"destination": "/docs/getting-started/quickstart",
809+
"destination": "/docs/remix/getting-started/quickstart",
810810
"permanent": true
811811
},
812812
{
@@ -946,12 +946,12 @@
946946
},
947947
{
948948
"source": "/docs/reference/golang/getting-started",
949-
"destination": "/docs/getting-started/quickstart",
949+
"destination": "/docs/go/getting-started/quickstart",
950950
"permanent": true
951951
},
952952
{
953953
"source": "/docs/reference/golang/other-examples",
954-
"destination": "/docs/getting-started/quickstart#example",
954+
"destination": "/docs/go/getting-started/quickstart#example",
955955
"permanent": true
956956
},
957957
{
@@ -1021,7 +1021,7 @@
10211021
},
10221022
{
10231023
"source": "/docs/request-authentication/go",
1024-
"destination": "/docs/getting-started/quickstart",
1024+
"destination": "/docs/go/getting-started/quickstart",
10251025
"permanent": true
10261026
},
10271027
{
@@ -1171,7 +1171,7 @@
11711171
},
11721172
{
11731173
"source": "/docs/get-started/create-react-app",
1174-
"destination": "/docs/getting-started/quickstart",
1174+
"destination": "/docs/react/getting-started/quickstart",
11751175
"permanent": true
11761176
},
11771177
{
@@ -1221,7 +1221,7 @@
12211221
},
12221222
{
12231223
"source": "/docs/reference/clerk-expo",
1224-
"destination": "/docs/getting-started/quickstart",
1224+
"destination": "/docs/expo/getting-started/quickstart",
12251225
"permanent": true
12261226
},
12271227
{
@@ -1321,7 +1321,7 @@
13211321
},
13221322
{
13231323
"source": "/docs/get-started/remix",
1324-
"destination": "/docs/getting-started/quickstart",
1324+
"destination": "/docs/remix/getting-started/quickstart",
13251325
"permanent": true
13261326
},
13271327
{
@@ -1376,7 +1376,7 @@
13761376
},
13771377
{
13781378
"source": "/docs/get-started/nextjs",
1379-
"destination": "/docs/getting-started/quickstart",
1379+
"destination": "/docs/nextjs/getting-started/quickstart",
13801380
"permanent": true
13811381
},
13821382
{
@@ -1591,7 +1591,7 @@
15911591
},
15921592
{
15931593
"source": "/docs/nextjs/installation",
1594-
"destination": "/docs/getting-started/quickstart",
1594+
"destination": "/docs/nextjs/getting-started/quickstart",
15951595
"permanent": true
15961596
},
15971597
{
@@ -1846,7 +1846,7 @@
18461846
},
18471847
{
18481848
"source": "/docs/reference/react/add-react-router",
1849-
"destination": "/docs/getting-started/quickstart",
1849+
"destination": "/docs/react/getting-started/quickstart#next-step-add-routing-with-react-router",
18501850
"permanent": true
18511851
},
18521852
{
@@ -2196,7 +2196,7 @@
21962196
},
21972197
{
21982198
"source": "/docs/backend-requests/handling/go",
2199-
"destination": "/docs/getting-started/quickstart",
2199+
"destination": "/docs/go/getting-started/quickstart",
22002200
"permanent": true
22012201
},
22022202
{
@@ -2231,7 +2231,7 @@
22312231
},
22322232
{
22332233
"source": "/docs/quickstarts/tanstack-start",
2234-
"destination": "/docs/getting-started/quickstart",
2234+
"destination": "/docs/tanstack-react-start/getting-started/quickstart",
22352235
"permanent": true
22362236
},
22372237
{
@@ -3511,7 +3511,7 @@
35113511
},
35123512
{
35133513
"source": "/docs/quickstarts/nextjs",
3514-
"destination": "/docs/getting-started/quickstart",
3514+
"destination": "/docs/nextjs/getting-started/quickstart",
35153515
"permanent": true
35163516
},
35173517
{
@@ -3521,77 +3521,77 @@
35213521
},
35223522
{
35233523
"source": "/docs/quickstarts/android",
3524-
"destination": "/docs/getting-started/quickstart",
3524+
"destination": "/docs/android/getting-started/quickstart",
35253525
"permanent": true
35263526
},
35273527
{
35283528
"source": "/docs/quickstarts/fastify",
3529-
"destination": "/docs/getting-started/quickstart",
3529+
"destination": "/docs/fastify/getting-started/quickstart",
35303530
"permanent": true
35313531
},
35323532
{
35333533
"source": "/docs/quickstarts/react-router",
3534-
"destination": "/docs/getting-started/quickstart",
3534+
"destination": "/docs/react-router/getting-started/quickstart",
35353535
"permanent": true
35363536
},
35373537
{
35383538
"source": "/docs/quickstarts/tanstack-react-start",
3539-
"destination": "/docs/getting-started/quickstart",
3539+
"destination": "/docs/tanstack-react-start/getting-started/quickstart",
35403540
"permanent": true
35413541
},
35423542
{
35433543
"source": "/docs/quickstarts/astro",
3544-
"destination": "/docs/getting-started/quickstart",
3544+
"destination": "/docs/astro/getting-started/quickstart",
35453545
"permanent": true
35463546
},
35473547
{
35483548
"source": "/docs/quickstarts/ios",
3549-
"destination": "/docs/getting-started/quickstart",
3549+
"destination": "/docs/ios/getting-started/quickstart",
35503550
"permanent": true
35513551
},
35523552
{
35533553
"source": "/docs/quickstarts/vue",
3554-
"destination": "/docs/getting-started/quickstart",
3554+
"destination": "/docs/vue/getting-started/quickstart",
35553555
"permanent": true
35563556
},
35573557
{
35583558
"source": "/docs/quickstarts/chrome-extension",
3559-
"destination": "/docs/getting-started/quickstart",
3559+
"destination": "/docs/chrome-extension/getting-started/quickstart",
35603560
"permanent": true
35613561
},
35623562
{
35633563
"source": "/docs/quickstarts/javascript",
3564-
"destination": "/docs/getting-started/quickstart",
3564+
"destination": "/docs/js-frontend/getting-started/quickstart",
35653565
"permanent": true
35663566
},
35673567
{
35683568
"source": "/docs/quickstarts/remix",
3569-
"destination": "/docs/getting-started/quickstart",
3569+
"destination": "/docs/remix/getting-started/quickstart",
35703570
"permanent": true
35713571
},
35723572
{
35733573
"source": "/docs/quickstarts/expo",
3574-
"destination": "/docs/getting-started/quickstart",
3574+
"destination": "/docs/expo/getting-started/quickstart",
35753575
"permanent": true
35763576
},
35773577
{
35783578
"source": "/docs/quickstarts/nuxt",
3579-
"destination": "/docs/getting-started/quickstart",
3579+
"destination": "/docs/nuxt/getting-started/quickstart",
35803580
"permanent": true
35813581
},
35823582
{
35833583
"source": "/docs/quickstarts/ruby",
3584-
"destination": "/docs/getting-started/quickstart",
3584+
"destination": "/docs/ruby/getting-started/quickstart",
35853585
"permanent": true
35863586
},
35873587
{
35883588
"source": "/docs/quickstarts/express",
3589-
"destination": "/docs/getting-started/quickstart",
3589+
"destination": "/docs/expressjs/getting-started/quickstart",
35903590
"permanent": true
35913591
},
35923592
{
35933593
"source": "/docs/quickstarts/react",
3594-
"destination": "/docs/getting-started/quickstart",
3594+
"destination": "/docs/react/getting-started/quickstart",
35953595
"permanent": true
35963596
},
35973597
{
@@ -3831,12 +3831,12 @@
38313831
},
38323832
{
38333833
"source": "/docs/reference/backend/overview",
3834-
"destination": "/docs/getting-started/quickstart",
3834+
"destination": "/docs/js-backend/getting-started/quickstart",
38353835
"permanent": true
38363836
},
38373837
{
38383838
"source": "/docs/reference/go/overview",
3839-
"destination": "/docs/getting-started/quickstart",
3839+
"destination": "/docs/go/getting-started/quickstart",
38403840
"permanent": true
38413841
},
38423842
{
@@ -3888,5 +3888,10 @@
38883888
"source": "/docs/guides/billing/events-webhooks",
38893889
"destination": "/docs/guides/development/webhooks/billing",
38903890
"permanent": true
3891+
},
3892+
{
3893+
"source": "/docs/reference/nextjs/current-user",
3894+
"destination": "/docs/reference/nextjs/app-router/current-user",
3895+
"permanent": true
38913896
}
38923897
]

0 commit comments

Comments
 (0)