From d02a380a329f44cf72a001d5f8b0b3ec89641ee7 Mon Sep 17 00:00:00 2001 From: steve sadler Date: Fri, 4 Apr 2025 16:49:57 -0600 Subject: [PATCH] Redirects cleanup of https://github.com/sourcegraph/docs/pull/1066 and https://github.com/sourcegraph/docs/pull/724 --- src/data/redirects.ts | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/src/data/redirects.ts b/src/data/redirects.ts index 9bca15f54..222d57ac2 100644 --- a/src/data/redirects.ts +++ b/src/data/redirects.ts @@ -6783,6 +6783,48 @@ const redirectsData = [ permanent: true }, + //Package code hosts redirects + { + source: "/admin/code_hosts/package-repos", + destination: "/admin/code_hosts", + permanent: true + }, + + { + source: "/integration/jvm", + destination: "/admin/code_hosts", + permanent: true + }, + + { + source: "/integration/npm", + destination: "//admin/code_hosts", + permanent: true + }, + + { + source: "/integration/python", + destination: "/admin/code_hosts", + permanent: true + }, + + { + source: "/integration/go", + destination: "/admin/code_hosts", + permanent: true + }, + + { + source: "/integration/ruby", + destination: "/admin/code_hosts", + permanent: true + }, + + { + source: "/integration/rust", + destination: "/admin/code_hosts", + permanent: true + }, ];