From 787c833d95781611e8ce539ebd0ad4525d726012 Mon Sep 17 00:00:00 2001
From: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com>
Date: Mon, 7 Sep 2026 17:21:42 -0600
Subject: [PATCH] Drop links to doc sections that no longer exist
---
docs/admin/audit-log.mdx | 2 +-
docs/admin/auth/index.mdx | 2 +-
docs/admin/code-hosts/github.mdx | 2 +-
docs/admin/faq.mdx | 2 +-
.../converting-version-contexts-to-search-contexts.mdx | 4 ++--
docs/admin/how-to/site-admin-quickstart.mdx | 2 +-
docs/batch-changes/delete-a-batch-change.mdx | 2 +-
docs/code-navigation/auto-indexing.mdx | 4 ++--
docs/code-navigation/how-to/index-other-languages.mdx | 2 +-
docs/code-navigation/index.mdx | 2 +-
docs/code-search/index.mdx | 2 +-
docs/cody/clients/install-jetbrains.mdx | 2 +-
docs/cody/clients/install-vscode.mdx | 2 +-
docs/cody/core-concepts/index.mdx | 2 +-
docs/cody/enterprise/model-configuration.mdx | 2 +-
docs/getting-started/github-vs-sourcegraph.mdx | 2 +-
docs/integration/bitbucket-server.mdx | 2 +-
docs/integration/github.mdx | 2 +-
docs/integration/gitlab.mdx | 2 +-
docs/integration/phabricator.mdx | 2 +-
docs/self-hosted/deploy/kubernetes/configure.mdx | 8 ++++----
docs/self-hosted/deploy/repositories.mdx | 2 +-
docs/self-hosted/workers.mdx | 2 +-
23 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/docs/admin/audit-log.mdx b/docs/admin/audit-log.mdx
index 82d6574a6..953982d6d 100644
--- a/docs/admin/audit-log.mdx
+++ b/docs/admin/audit-log.mdx
@@ -135,7 +135,7 @@ Audit logs are structured logs delivered as JSON to STDERR. As long as one can i
### Log Output
-All audit logs are delivered to **STDERR** for each individual [component](/self-hosted/deploy/kubernetes/scale#core-components).
+All audit logs are delivered to **STDERR** for each individual [component](/self-hosted/deploy/kubernetes/scale).
### Filtering Audit Logs
diff --git a/docs/admin/auth/index.mdx b/docs/admin/auth/index.mdx
index a60f00e10..a2167fc20 100644
--- a/docs/admin/auth/index.mdx
+++ b/docs/admin/auth/index.mdx
@@ -34,7 +34,7 @@ The following methods are supported for sign up and sign in:
- [HTTP authentication proxies](#http-authentication-proxies)
- [Username header prefixes](#username-header-prefixes)
-The authentication providers are configured in the [`auth.providers`](/admin/config/site-config#authentication-providers) site configuration option.
+The authentication providers are configured in the [`auth.providers`](/admin/config/site-config) site configuration option.
## Programmatic authentication
diff --git a/docs/admin/code-hosts/github.mdx b/docs/admin/code-hosts/github.mdx
index a63419b0c..7d0cb0cdd 100644
--- a/docs/admin/code-hosts/github.mdx
+++ b/docs/admin/code-hosts/github.mdx
@@ -292,7 +292,7 @@ There are four fields for configuring which repositories are mirrored/synchroniz
- [`repos`](/admin/code-hosts/github#repos)A list of repositories in `owner/name` format. The order determines the order in which we sync repository metadata and is safe to change.
- [`orgs`](/admin/code-hosts/github#orgs)A list of organizations (every repository belonging to the organization will be cloned).
-- [`repositoryQuery`](/admin/code-hosts/github#repositoryQuery)A list of strings with three pre-defined options (`public`, `affiliated`, `none`, none of which are subject to result limitations), and/or a [GitHub advanced search query](https://github.com/search/advanced). Note: There is an existing limitation that requires the latter, GitHub advanced search queries, to return [less than 1000 results](#repositoryquery-returns-first-1000-results-only).
+- [`repositoryQuery`](/admin/code-hosts/github#repositoryQuery)A list of strings with three pre-defined options (`public`, `affiliated`, `none`, none of which are subject to result limitations), and/or a [GitHub advanced search query](https://github.com/search/advanced). Note: There is an existing limitation that requires the latter, GitHub advanced search queries, to return less than 1000 results.
- [`exclude`](/admin/code-hosts/github#exclude)A list of repositories to exclude which takes precedence over the `repos`, `orgs`, and `repositoryQuery` fields.
## Rate limits
diff --git a/docs/admin/faq.mdx b/docs/admin/faq.mdx
index 826766af3..04dc5fadb 100644
--- a/docs/admin/faq.mdx
+++ b/docs/admin/faq.mdx
@@ -28,7 +28,7 @@ makes a request without the password included. If a 401 Unauthorized is returned
More information can be found [here](https://confluence.atlassian.com/bitbucketserverkb/two-401-responses-for-every-git-opperation-938854756.html).
If this behaviour is undesired, the `gitURLType` in the [external service configuration](/admin/code-hosts/github#configuration)
-should be set to `ssh` instead of `http`. This will also require [ssh keys to be set up](/admin/repo/auth#repositories-that-need-http-s-or-ssh-authentication).
+should be set to `ssh` instead of `http`. This will also require [ssh keys to be set up](/admin/repo/auth).
## Sourcegraph is not returning results from a repository unless "repo:" is included
diff --git a/docs/admin/how-to/converting-version-contexts-to-search-contexts.mdx b/docs/admin/how-to/converting-version-contexts-to-search-contexts.mdx
index 850c917c7..f430ba1c9 100644
--- a/docs/admin/how-to/converting-version-contexts-to-search-contexts.mdx
+++ b/docs/admin/how-to/converting-version-contexts-to-search-contexts.mdx
@@ -1,6 +1,6 @@
# How to convert version contexts to search contexts
-This guide will provide steps for migrating from [version contexts](/code-search/features#version-contexts-sunsetting) to [search contexts](/code-search/features#search-contexts) on your private Sourcegraph instance.
+This guide will provide steps for migrating from version contexts to [search contexts](/code-search/features#search-contexts) on your private Sourcegraph instance.
## Prerequisites
@@ -23,7 +23,7 @@ Reload after saving changes to see search contexts enabled.
1. Log in to your private Sourcegraph instance as a site admin.
2. Navigate to `https://your_sourcegraph_instance.com/contexts`.
-3. Press `Convert version contexts`. A list of [existing version contexts](/code-search/features#version-contexts-sunsetting) found in the site configuration will be shown.
+3. Press `Convert version contexts`. A list of existing version contexts found in the site configuration will be shown.
4. Convert either all version contexts at once, or specific individual version contexts as desired.
5. Navigate back to `https://your_sourcegraph_instance.com/contexts`. Converted version contexts will be listed.
diff --git a/docs/admin/how-to/site-admin-quickstart.mdx b/docs/admin/how-to/site-admin-quickstart.mdx
index cc9e1595a..87a947630 100644
--- a/docs/admin/how-to/site-admin-quickstart.mdx
+++ b/docs/admin/how-to/site-admin-quickstart.mdx
@@ -8,7 +8,7 @@ This guide will walk you through the features and functionalities available to y
### What is the best deployment option for me?
-We recommend Docker Compose for most initial production deployments. You can [migrate to a different deployment method](/self-hosted/updates/#migrating-to-a-new-deployment-type) later on if needed.
+We recommend Docker Compose for most initial production deployments. You can [migrate to a different deployment method](/self-hosted/updates) later on if needed.
If you need a deployment option that offers a higher level of scalability and availability, the [Kubernetes deployment](/self-hosted/deploy/kubernetes/) is recommended.
diff --git a/docs/batch-changes/delete-a-batch-change.mdx b/docs/batch-changes/delete-a-batch-change.mdx
index 1c59f2cca..1a5a94fd8 100644
--- a/docs/batch-changes/delete-a-batch-change.mdx
+++ b/docs/batch-changes/delete-a-batch-change.mdx
@@ -4,7 +4,7 @@
Learn in detail about how to close, delete, and opt out of a Batch Change.
-You can close a batch change when you no longer need it, when all changes have been merged, or when you decide not to make changes. A closed batch change still appears in the [batch changes list](/batch-changes/create-a-batch-change#viewing-batch-changes). To completely remove it, you can delete the batch change.
+You can close a batch change when you no longer need it, when all changes have been merged, or when you decide not to make changes. A closed batch change still appears in the [batch changes list](/batch-changes/create-a-batch-change). To completely remove it, you can delete the batch change.
Any user with [admin access to the batch change](/batch-changes/permissions-in-batch-changes#permission-levels-for-batch-changes) can close or delete it.
diff --git a/docs/code-navigation/auto-indexing.mdx b/docs/code-navigation/auto-indexing.mdx
index 25647f9c8..4357ec25e 100644
--- a/docs/code-navigation/auto-indexing.mdx
+++ b/docs/code-navigation/auto-indexing.mdx
@@ -9,7 +9,7 @@
With Sourcegraph deployments supporting [executors](/admin/executors/), your repository contents can be automatically analyzed to produce a code graph index file. Once [auto-indexing is enabled](/code-navigation/auto-indexing#enable-auto-indexing) and [auto-indexing policies are configured](/code-navigation/auto-indexing#configure-auto-indexing), repositories will be periodically cloned into an executor sandbox, analyzed, and the resulting index file will be uploaded back to the Sourcegraph instance.
-Auto-indexing is currently available for Go, TypeScript, JavaScript, Python, Ruby and JVM repositories. See also [dependency navigation](/code-navigation/features#dependency-navigation) for instructions on how to setup cross-dependency navigation depending on what language ecosystem you use.
+Auto-indexing is currently available for Go, TypeScript, JavaScript, Python, Ruby and JVM repositories. See also [dependency navigation](/code-navigation/features) for instructions on how to setup cross-dependency navigation depending on what language ecosystem you use.
## Enable auto-indexing
@@ -144,7 +144,7 @@ For **NPM**, you can create a [secret named `NPM_TOKEN`](https://docs.npmjs.com/
## Language support
-Auto-indexing is currently available for Go, TypeScript, JavaScript, Python, Ruby and JVM repositories. See also [dependency navigation](/code-navigation/features#dependency-navigation) for instructions on how to setup cross-dependency navigation depending on what language ecosystem you use.
+Auto-indexing is currently available for Go, TypeScript, JavaScript, Python, Ruby and JVM repositories. See also [dependency navigation](/code-navigation/features) for instructions on how to setup cross-dependency navigation depending on what language ecosystem you use.
## Lifecycle of an indexing job
diff --git a/docs/code-navigation/how-to/index-other-languages.mdx b/docs/code-navigation/how-to/index-other-languages.mdx
index 804ddfb5b..5a2c17410 100644
--- a/docs/code-navigation/how-to/index-other-languages.mdx
+++ b/docs/code-navigation/how-to/index-other-languages.mdx
@@ -47,7 +47,7 @@ The `src-cli` upload command will try to infer the repository and git commit by
If you're using Sourcegraph.com or have enabled
[`lsifEnforceAuth`](/admin/config/site-config#lsifEnforceAuth) you need to
- [supply a GitHub token](#proving-ownership-of-a-github-repository) supplied
+ supply a GitHub token supplied
via the `-github-token` flag in the command above.
diff --git a/docs/code-navigation/index.mdx b/docs/code-navigation/index.mdx
index 83444757b..793d94b8d 100644
--- a/docs/code-navigation/index.mdx
+++ b/docs/code-navigation/index.mdx
@@ -71,7 +71,7 @@ Code Navigation helps you with the following tasks:
| [Hover](/code-navigation/features#hover) | Quickly view a symbol's type signature and documentation without switching to another source file |
| [Go to definition](/code-navigation/features#go-to-definition) | Click the button or symbol name, navigates you to the symbol's definition |
| [Find references](/code-navigation/features#find-references) | Selecting it in the hover lists all references, definitions, and implementations at the bottom, including precise and search-based results |
-| [Find implementations](/code-navigation/features#find-implementations) | Click to go to a symbol's interface definition or, at the interface, see all implementations across repositories, including interfaces implemented by a struct |
+| [Find implementations](/code-navigation/features) | Click to go to a symbol's interface definition or, at the interface, see all implementations across repositories, including interfaces implemented by a struct |
| [Perform an action](/code-navigation/features#perform-an-action) | When browsing code, you can perform a couple of actions like open in code host, raw download and view blame. |
diff --git a/docs/code-search/index.mdx b/docs/code-search/index.mdx
index 35ee97cc6..196bf2438 100644
--- a/docs/code-search/index.mdx
+++ b/docs/code-search/index.mdx
@@ -96,7 +96,7 @@ Code Search main features include:
- Use [search contexts](/code-search/features#search-contexts) to search across a set of repositories at specific revisions
- Curate [saved searches](/code-search/features#saved-searches) for yourself or your org
- Use [code monitoring](/code-monitoring/) to set up notifications for code changes that match a query
-- View [language statistics](/code-search/features#statistics) for search results
+- View [language statistics](/code-search/features) for search results
{' '}
diff --git a/docs/cody/clients/install-jetbrains.mdx b/docs/cody/clients/install-jetbrains.mdx
index 1d9d12b45..8c2bd9e5a 100644
--- a/docs/cody/clients/install-jetbrains.mdx
+++ b/docs/cody/clients/install-jetbrains.mdx
@@ -221,7 +221,7 @@ All you need to do is select and highlight the code line with the error and clic
## Supported LLM models
-Enterprise users who have [model configuration](/cody/enterprise/model-configuration#model-configuration) configured can also select from the available models for their instance. On instances with the ["completions" configuration](/cody/enterprise/model-configuration#completions-configuration), a site admin determines the LLM, which cannot be changed within the editor.
+Enterprise users who have [model configuration](/cody/enterprise/model-configuration#model-configuration) configured can also select from the available models for their instance. On instances with the ["completions" configuration](/cody/enterprise/model-configuration), a site admin determines the LLM, which cannot be changed within the editor.
Read and learn more about the [supported
diff --git a/docs/cody/clients/install-vscode.mdx b/docs/cody/clients/install-vscode.mdx
index ad3e5b321..6804d47cd 100644
--- a/docs/cody/clients/install-vscode.mdx
+++ b/docs/cody/clients/install-vscode.mdx
@@ -268,7 +268,7 @@ Enterprise users get Claude 3.5 Sonnet as the default LLM models without extra c
Provisioned throughput via AWS is not supported for 3.5 Sonnet.
-You also get additional capabilities like BYOLLM (Bring Your Own LLM), supporting Single-Tenant and Self Hosted setups for flexible coding environments. Your site administrator determines the LLM, and cannot be changed within the editor. However, Cody Enterprise users when using Sourcegraph Model Provider (Cody Gateway) have the ability to [configure custom models](/model-provider#configuring-custom-models) from Anthropic, OpenAI, and Google Gemini.
+You also get additional capabilities like BYOLLM (Bring Your Own LLM), supporting Single-Tenant and Self Hosted setups for flexible coding environments. Your site administrator determines the LLM, and cannot be changed within the editor. However, Cody Enterprise users when using Sourcegraph Model Provider (Cody Gateway) have the ability to [configure custom models](/model-provider) from Anthropic, OpenAI, and Google Gemini.
Read more about all the supported LLM models
diff --git a/docs/cody/core-concepts/index.mdx b/docs/cody/core-concepts/index.mdx
index 56e2c896b..a5284b2a5 100644
--- a/docs/cody/core-concepts/index.mdx
+++ b/docs/cody/core-concepts/index.mdx
@@ -31,7 +31,7 @@
diff --git a/docs/cody/enterprise/model-configuration.mdx b/docs/cody/enterprise/model-configuration.mdx
index 11d66a0a5..eb18be0b2 100644
--- a/docs/cody/enterprise/model-configuration.mdx
+++ b/docs/cody/enterprise/model-configuration.mdx
@@ -25,7 +25,7 @@ The model configuration for Cody is managed through the `"modelConfiguration"` f
| [`sourcegraph`](/cody/enterprise/model-configuration#sourcegraph-provided-models) | Configures access to Sourcegraph-provided models available through Cody Gateway. |
| [`providerOverrides`](/cody/enterprise/model-configuration#provider-overrides) | Configures access to models through your keys with most common LLM providers (BYOK) or hosted behind any openaicompatible endpoint |
| [`modelOverrides`](/cody/enterprise/model-configuration#model-overrides) | Extends or modifies the list of models Cody recognizes and their configurations. |
-| [`selfHostedModels`](/cody/enterprise/model-configuration#self-hosted-models) | Adds models to Cody’s recognized models list with default configurations provided by Sourcegraph. Only available for certain models; general models can be configured in `modelOverrides`. |
+| [`selfHostedModels`](/cody/enterprise/model-configuration) | Adds models to Cody’s recognized models list with default configurations provided by Sourcegraph. Only available for certain models; general models can be configured in `modelOverrides`. |
| [`defaultModels`](/cody/enterprise/model-configuration#default-models) | Specifies the models assigned to each Cody feature (chat, fast chat, autocomplete). |
## Getting started with `modelConfiguration`
diff --git a/docs/getting-started/github-vs-sourcegraph.mdx b/docs/getting-started/github-vs-sourcegraph.mdx
index f8d45c2f9..cdff2860d 100644
--- a/docs/getting-started/github-vs-sourcegraph.mdx
+++ b/docs/getting-started/github-vs-sourcegraph.mdx
@@ -254,7 +254,7 @@ GitHub’s [precise code navigation](https://docs.github.com/en/repositories/wor
Sourcegraph’s [precise code navigation](/code-navigation/precise-code-navigation) is not heuristic-based. Instead, it uses SCIP and LSIF data to deliver precomputed code navigation, meaning that it is fast and compiler-accurate. It is the only 100% accurate solution for code navigation between Sourcegraph’s and GitHub’s offerings.
-Because precise code navigation uses code graph (SCIP) data, it is not susceptible to false positives or other potential errors (such as those caused by symbols with the same name). It also supports cross-repository navigation, which shows symbol usage across repositories and [transitive dependencies](/code-navigation/features#beta-dependency-navigation). It also has a unique feature, “Find implementations,” which allows you to navigate to a symbol’s interface definition or find all the places an interface is being implemented.
+Because precise code navigation uses code graph (SCIP) data, it is not susceptible to false positives or other potential errors (such as those caused by symbols with the same name). It also supports cross-repository navigation, which shows symbol usage across repositories and [transitive dependencies](/code-navigation/features). It also has a unique feature, “Find implementations,” which allows you to navigate to a symbol’s interface definition or find all the places an interface is being implemented.
Sourcegraph’s precise code navigation is opt-in and requires you to upload code graph data (LSIF or SCIP) to Sourcegraph. This data can be automatically generated and uploaded to Sourcegraph via [auto-indexing](/code-navigation/auto-indexing). For repositories without SCIP or LSIF data, Sourcegraph automatically falls back to search-based code navigation.
diff --git a/docs/integration/bitbucket-server.mdx b/docs/integration/bitbucket-server.mdx
index 9c806e9e6..f00b56944 100644
--- a/docs/integration/bitbucket-server.mdx
+++ b/docs/integration/bitbucket-server.mdx
@@ -143,7 +143,7 @@ The plugin uses `RepositoryService`, `UserManager`, `UserService` and `SecurityS
The [Sourcegraph browser extension](/integration/browser-extension) supports Bitbucket Server / Bitbucket Data Center. When installed in your web browser, it adds hover tooltips, go-to-definition, find-references, and code search to files and pull requests viewed on Bitbucket Server / Bitbucket Data Center.
1. Install the [Sourcegraph browser extension](/integration/browser-extension).
-1. [Configure the browser extension](/integration/browser-extension#configuring-the-sourcegraph-instance-to-use) to use your Sourcegraph instance.
+1. [Configure the browser extension](/integration/browser-extension) to use your Sourcegraph instance.
1. To allow the browser extension to work on your Bitbucket Server / Bitbucket Data Center instance:
- Navigate to any page on Bitbucket Server / Bitbucket Data Center.
- Right-click the Sourcegraph icon in the browser extension toolbar.
diff --git a/docs/integration/github.mdx b/docs/integration/github.mdx
index ba4fc0476..44469c0a6 100644
--- a/docs/integration/github.mdx
+++ b/docs/integration/github.mdx
@@ -26,7 +26,7 @@ Site admins can [configure Sourcegraph to allow users to sign in via GitHub](/ad
The [Sourcegraph browser extension](/integration/browser-extension) supports GitHub. When installed in your web browser, it adds hover tooltips, go-to-definition, find-references, and code search to files and pull requests viewed on GitHub and GitHub Enterprise.
1. Install the [Sourcegraph browser extension](/integration/browser-extension).
-1. [Configure the browser extension](/integration/browser-extension#configuring-the-sourcegraph-instance-to-use) to use your Sourcegraph instance.
+1. [Configure the browser extension](/integration/browser-extension) to use your Sourcegraph instance.
- You can also use [`https://sourcegraph.com`](https://sourcegraph.com) for public code only.
diff --git a/docs/integration/gitlab.mdx b/docs/integration/gitlab.mdx
index 89b60cc4a..0700e574a 100644
--- a/docs/integration/gitlab.mdx
+++ b/docs/integration/gitlab.mdx
@@ -33,7 +33,7 @@ GitLab instances can be configured to show Sourcegraph code navigation natively.
The [Sourcegraph browser extension](/integration/browser-extension) supports GitLab. When installed in your web browser, it adds hover tooltips, go-to-definition, find-references, and code search to files and merge requests viewed on GitLab.
1. Install the [Sourcegraph browser extension](/integration/browser-extension).
-1. [Configure the browser extension](/integration/browser-extension#configuring-the-sourcegraph-instance-to-use) to use your Sourcegraph instance.
+1. [Configure the browser extension](/integration/browser-extension) to use your Sourcegraph instance.
- You can also use [`https://sourcegraph.com`](https://sourcegraph.com) for public code from GitLab.com only.
diff --git a/docs/integration/phabricator.mdx b/docs/integration/phabricator.mdx
index 64331e99e..d3a55e209 100644
--- a/docs/integration/phabricator.mdx
+++ b/docs/integration/phabricator.mdx
@@ -22,7 +22,7 @@ Site admins can [associate Phabricator repositories with Sourcegraph](/admin/cod
The [Sourcegraph browser extension](/integration/browser-extension) supports Phabricator. When installed in your web browser, it adds hover tooltips, go-to-definition, find-references, and code search to files and diffs viewed on Phabricator.
1. Install the [Sourcegraph browser extension](/integration/browser-extension).
-1. [Configure the browser extension](/integration/browser-extension#configuring-the-sourcegraph-instance-to-use) to use your Sourcegraph instance.
+1. [Configure the browser extension](/integration/browser-extension) to use your Sourcegraph instance.
1. To allow the browser extension to work on your Phabricator instance:
- Navigate to any page on Phabricator.
- Right-click the Sourcegraph icon in the browser extension toolbar.
diff --git a/docs/self-hosted/deploy/kubernetes/configure.mdx b/docs/self-hosted/deploy/kubernetes/configure.mdx
index 40ddd61be..796df33fb 100644
--- a/docs/self-hosted/deploy/kubernetes/configure.mdx
+++ b/docs/self-hosted/deploy/kubernetes/configure.mdx
@@ -226,7 +226,7 @@ components:
Follow these steps to configure the otel-collector to export traces to an external OTEL-compatible backend:
1. Create a subdirectory called 'patches' within the directory of your overlay
-2. Copy and paste the [base/otel-collector/otel-collector.ConfigMap.yaml file](https://sourcegraph.com/github.com/sourcegraph/deploy-sourcegraph-k8s@master/-/tree/base/otel-collector/otel-collector.ConfigMap.yaml) to the new [patches subdirectory](/self-hosted/deploy/kubernetes/kustomize/#patches-directory)
+2. Copy and paste the [base/otel-collector/otel-collector.ConfigMap.yaml file](https://sourcegraph.com/github.com/sourcegraph/deploy-sourcegraph-k8s@master/-/tree/base/otel-collector/otel-collector.ConfigMap.yaml) to the new [patches subdirectory](/self-hosted/deploy/kubernetes/kustomize)
3. In the copied file, make the necessary changes to the `exporters` and `service` blocks to connect to your backend based on the documentation linked above
4. Include the following content in your overlay:
@@ -836,7 +836,7 @@ To configure ingress-nginx annotations for the Sourcegraph frontend ingress:
$ mkdir -p instances/$INSTANCE_NAME/patches
```
-**Step 2**: Copy the `frontend-ingress-annotations.yaml` patch file from the components/patches directory to the new [patches subdirectory](/self-hosted/deploy/kubernetes/kustomize/#patches-directory)
+**Step 2**: Copy the `frontend-ingress-annotations.yaml` patch file from the components/patches directory to the new [patches subdirectory](/self-hosted/deploy/kubernetes/kustomize)
```bash
$ cp components/patches/frontend-ingress-annotations.yaml instances/$INSTANCE_NAME/patches/frontend-ingress-annotations.yaml
@@ -1156,7 +1156,7 @@ components:
**Step 4:** Update code host configuration
-Update your [code host configuration file](/admin/code-hosts/#full-code-host-docs) to enable ssh cloning. For example, set [gitURLType](/admin/code-hosts/github#gitURLType) to `ssh` for [GitHub](/admin/code-hosts/github). See the [external service docs](/admin/code-hosts/) for the correct setting for your code host.
+Update your [code host configuration file](/admin/code-hosts) to enable ssh cloning. For example, set [gitURLType](/admin/code-hosts/github#gitURLType) to `ssh` for [GitHub](/admin/code-hosts/github). See the [external service docs](/admin/code-hosts/) for the correct setting for your code host.
---
@@ -1194,7 +1194,7 @@ cAdvisor can pick up metrics for services unrelated to the Sourcegraph deploymen
$ mkdir instances/$INSTANCE_NAME/patches
```
-2\. Create a copy of the `prometheus.ConfigMap.yaml` file in the new [patches subdirectory](/self-hosted/deploy/kubernetes/kustomize/#patches-directory)
+2\. Create a copy of the `prometheus.ConfigMap.yaml` file in the new [patches subdirectory](/self-hosted/deploy/kubernetes/kustomize)
```bash
mv base/monitoring/prometheus/rbacs/prometheus.ConfigMap.yaml instances/$INSTANCE_NAME/patches/prometheus.ConfigMap.yaml
diff --git a/docs/self-hosted/deploy/repositories.mdx b/docs/self-hosted/deploy/repositories.mdx
index d27bef914..f4f67265a 100644
--- a/docs/self-hosted/deploy/repositories.mdx
+++ b/docs/self-hosted/deploy/repositories.mdx
@@ -49,7 +49,7 @@ git clone https://github.com/SG_DEPLOY_GITHUB_USERNAME/$SG_PRIVATE_DEPLOY_REPO_N
### Step 4: Create a release branch
-Create a `release` branch to track all of your customizations to Sourcegraph. This branch will be used to [upgrade Sourcegraph](/self-hosted/updates) and [install your Sourcegraph instance](/self-hosted/deploy/#installation).
+Create a `release` branch to track all of your customizations to Sourcegraph. This branch will be used to [upgrade Sourcegraph](/self-hosted/updates) and [install your Sourcegraph instance](/self-hosted/deploy).
```bash
cd $SG_PRIVATE_DEPLOY_REPO_NAME
diff --git a/docs/self-hosted/workers.mdx b/docs/self-hosted/workers.mdx
index c87a6e5a6..716400346 100644
--- a/docs/self-hosted/workers.mdx
+++ b/docs/self-hosted/workers.mdx
@@ -8,7 +8,7 @@ The following jobs are defined by the `worker` service.
#### `out-of-band-migrations`
-This job runs [out of band migrations](/admin/migration#mout-of-band-migrations), which perform large data migrations in the background over time instead of synchronously during Sourcegraph instance updates.
+This job runs [out of band migrations](/admin/migration), which perform large data migrations in the background over time instead of synchronously during Sourcegraph instance updates.
#### `codeintel-upload-backfiller`