Skip to content

Commit 7f6e4d2

Browse files
committed
Fixed redirects
1 parent d16d6f3 commit 7f6e4d2

File tree

2 files changed

+128
-2
lines changed

2 files changed

+128
-2
lines changed
File renamed without changes.

src/middleware.ts

Lines changed: 128 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3524,10 +3524,27 @@ const DEVELOPER_DOCS_REDIRECTS: Redirect[] = [
35243524
from: '/sdk/distributed-tracing/',
35253525
to: '/sdk/telemetry/traces/distributed-tracing/',
35263526
},
3527+
// New Sidebar structure
35273528
{
35283529
from: '/development/',
35293530
to: '/development-infrastructure/',
35303531
},
3532+
{
3533+
from: '/development/environment/',
3534+
to: '/development-infrastructure/environment/',
3535+
},
3536+
{
3537+
from: '/development/environment/ports/',
3538+
to: '/development-infrastructure/environment/ports/',
3539+
},
3540+
{
3541+
from: '/development/environment/u2f/',
3542+
to: '/development-infrastructure/environment/u2f/',
3543+
},
3544+
{
3545+
from: '/development/environment/pycharm/',
3546+
to: '/development-infrastructure/environment/pycharm/',
3547+
},
35313548
{
35323549
from: '/development/commit-messages/',
35333550
to: '/engineering-practices/commit-messages/',
@@ -3540,14 +3557,66 @@ const DEVELOPER_DOCS_REDIRECTS: Redirect[] = [
35403557
from: '/development/documentation/',
35413558
to: '/engineering-practices/documentation/',
35423559
},
3560+
{
3561+
from: '/development/workflow/',
3562+
to: '/development-infrastructure/workflow/',
3563+
},
3564+
{
3565+
from: '/development/testing/',
3566+
to: '/development-infrastructure/testing/',
3567+
},
3568+
{
3569+
from: '/development/continuous-integration/',
3570+
to: '/development-infrastructure/continuous-integration/',
3571+
},
3572+
{
3573+
from: '/development/ngrok/',
3574+
to: '/development-infrastructure/ngrok/',
3575+
},
3576+
{
3577+
from: '/development/devservices/',
3578+
to: '/development-infrastructure/devservices/',
3579+
},
35433580
{
35443581
from: '/development/rust/',
35453582
to: '/engineering-practices/rust/',
35463583
},
3584+
{
3585+
from: '/development/analytics/',
3586+
to: '/development-infrastructure/analytics/',
3587+
},
35473588
{
35483589
from: '/application/',
35493590
to: '/application-architecture/',
35503591
},
3592+
{
3593+
from: '/application/architecture/',
3594+
to: '/application-architecture/overview/',
3595+
},
3596+
{
3597+
from: '/application/dynamic-sampling/',
3598+
to: '/application-architecture/dynamic-sampling/',
3599+
},
3600+
{
3601+
from: '/application/dynamic-sampling/the-big-picture/',
3602+
to: '/application-architecture/dynamic-sampling/the-big-picture/',
3603+
},
3604+
{
3605+
from: '/application/dynamic-sampling/fidelity-and-biases/',
3606+
to: '/application-architecture/dynamic-sampling/fidelity-and-biases/',
3607+
},
3608+
{
3609+
from: '/application/dynamic-sampling/architecture/',
3610+
to: '/application-architecture/dynamic-sampling/architecture/',
3611+
},
3612+
{
3613+
from: '/application/dynamic-sampling/outcomes/',
3614+
to: '/application-architecture/dynamic-sampling/outcomes/',
3615+
},
3616+
{
3617+
from: '/application/feedback-architecture/',
3618+
to: '/application-architecture/feedback-architecture/',
3619+
},
35513620
{
35523621
from: '/application/control-silo/',
35533622
to: '/application-architecture/multi-region-deployment/control-silo/',
@@ -3560,9 +3629,18 @@ const DEVELOPER_DOCS_REDIRECTS: Redirect[] = [
35603629
from: '/application/cross-region-rpc/',
35613630
to: '/application-architecture/multi-region-deployment/cross-region-rpc/',
35623631
},
3632+
{
3633+
from: '/application/config/',
3634+
to: '/application-architecture/config/',
3635+
},
3636+
{
3637+
from: '/application/sentry-vs-getsentry/',
3638+
to: '/application-architecture/sentry-vs-getsentry/',
3639+
},
3640+
35633641
{
35643642
from: '/frontend/development-server/',
3565-
to: '/developement-infrastructure/frontend-development-server/',
3643+
to: '/development-infrastructure/frontend-development-server/',
35663644
},
35673645
{
35683646
from: '/backend/',
@@ -3572,6 +3650,30 @@ const DEVELOPER_DOCS_REDIRECTS: Redirect[] = [
35723650
from: '/backend/api/',
35733651
to: '/api-server/api/',
35743652
},
3653+
{
3654+
from: '/backend/api/basics/',
3655+
to: '/api-server/api/basics/',
3656+
},
3657+
{
3658+
from: '/backend/api/design/',
3659+
to: '/api-server/api/design/',
3660+
},
3661+
{
3662+
from: '/backend/api/concepts/',
3663+
to: '/api-server/api/concepts/',
3664+
},
3665+
{
3666+
from: '/backend/api/public/',
3667+
to: '/api-server/api/public/',
3668+
},
3669+
{
3670+
from: '/backend/api/checklist/',
3671+
to: '/api-server/api/checklist/',
3672+
},
3673+
{
3674+
from: '/backend/api/serializers/',
3675+
to: '/api-server/api/serializers/',
3676+
},
35753677
{
35763678
from: '/backend/development-server/',
35773679
to: '/development-infrastructure/backend-development-server/',
@@ -3649,9 +3751,21 @@ const DEVELOPER_DOCS_REDIRECTS: Redirect[] = [
36493751
from: '/backend/pii/',
36503752
to: '/api-server/application-domains/pii/',
36513753
},
3754+
{
3755+
from: '/backend/pii/methods/',
3756+
to: '/api-server/application-domains/pii/methods/',
3757+
},
3758+
{
3759+
from: '/backend/pii/types/',
3760+
to: '/api-server/application-domains/pii/types/',
3761+
},
3762+
{
3763+
from: '/backend/pii/selectors/',
3764+
to: '/api-server/application-domains/pii/selectors/',
3765+
},
36523766
{
36533767
from: '/backend/buffers/',
3654-
to: '/api-server/application-domains/buffers/',
3768+
to: '/api-server/application-domains/write-buffers/',
36553769
},
36563770
{
36573771
from: '/backend/translations/',
@@ -3661,6 +3775,18 @@ const DEVELOPER_DOCS_REDIRECTS: Redirect[] = [
36613775
from: '/backend/ab-testing/',
36623776
to: '/api-server/application-domains/ab-testing/',
36633777
},
3778+
{
3779+
from: '/relay/',
3780+
to: '/ingestion/',
3781+
},
3782+
{
3783+
from: '/relay/projectconfig-versioning/',
3784+
to: '/ingestion/projectconfig-versioning/',
3785+
},
3786+
{
3787+
from: '/relay/transaction-span-ratelimits/',
3788+
to: '/ingestion/transaction-span-ratelimits/',
3789+
},
36643790
];
36653791

36663792
const redirectMap = new Map(

0 commit comments

Comments
 (0)