From 9136c8e90d0c41fe7e528a3f47c4ac8bffd65cce Mon Sep 17 00:00:00 2001
From: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com>
Date: Mon, 7 Sep 2026 17:21:44 -0600
Subject: [PATCH] Point links at the page the content moved to
---
docs/admin/auth/builtin.mdx | 2 +-
docs/admin/auth/index.mdx | 10 +++++-----
docs/admin/auth/login-form.mdx | 2 +-
docs/admin/auth/saml/azure-ad.mdx | 2 +-
docs/admin/auth/saml/index.mdx | 2 +-
docs/admin/code-hosts/aws-codecommit.mdx | 2 +-
docs/admin/code-hosts/gitlab.mdx | 2 +-
docs/admin/config/authorization-and-authentication.mdx | 2 +-
docs/admin/faq.mdx | 2 +-
docs/admin/how-to/monorepo-issues.mdx | 2 +-
docs/admin/index.mdx | 2 +-
docs/admin/migration/opengrok.mdx | 6 +++---
docs/admin/permissions/syncing.mdx | 2 +-
docs/admin/repo/auth.mdx | 2 +-
docs/admin/repo/git-config.mdx | 2 +-
docs/admin/repo/update-frequency.mdx | 2 +-
docs/admin/telemetry/protocol.mdx | 4 ++--
docs/batch-changes/rebasing-changesets.mdx | 2 +-
docs/batch-changes/tracking-existing-changesets.mdx | 2 +-
docs/cloud/index.mdx | 2 +-
docs/code-insights/language-insight-quickstart.mdx | 2 +-
docs/code-insights/quickstart.mdx | 2 +-
docs/getting-started/github-vs-sourcegraph.mdx | 2 +-
docs/self-hosted/deploy/docker-compose/operations.mdx | 4 ++--
docs/self-hosted/deploy/kubernetes/configure.mdx | 2 +-
docs/self-hosted/deploy/kubernetes/kustomize.mdx | 2 +-
.../deploy/kubernetes/kustomize/migrate.mdx | 4 ++--
docs/self-hosted/deployment-best-practices.mdx | 4 ++--
docs/self-hosted/email.mdx | 6 +++---
docs/self-hosted/how-to/dirty-database.mdx | 2 +-
docs/self-hosted/how-to/monitoring-guide.mdx | 2 +-
.../self-hosted/how-to/postgres14-index-corruption.mdx | 2 +-
.../how-to/rebuild-corrupt-postgres-indexes.mdx | 2 +-
docs/self-hosted/http-https-configuration.mdx | 2 +-
docs/self-hosted/observability/logs.mdx | 2 +-
docs/self-hosted/observability/metrics.mdx | 2 +-
docs/self-hosted/observability/troubleshooting.mdx | 2 +-
docs/self-hosted/pprof.mdx | 2 +-
38 files changed, 50 insertions(+), 50 deletions(-)
diff --git a/docs/admin/auth/builtin.mdx b/docs/admin/auth/builtin.mdx
index 521d0f0f5..7f188ae20 100644
--- a/docs/admin/auth/builtin.mdx
+++ b/docs/admin/auth/builtin.mdx
@@ -1,6 +1,6 @@
# Builtin password authentication
-The [`builtin` auth provider](/admin/config/site-config#builtin-password-authentication) manages user accounts inside Sourcegraph. It supports user signup, login, and password reset. This is the simplest provider type to set up, and is the default auth provider on a fresh installation for the first user so they can create an account and become site admin.
+The [`builtin` auth provider](/admin/auth/builtin) manages user accounts inside Sourcegraph. It supports user signup, login, and password reset. This is the simplest provider type to set up, and is the default auth provider on a fresh installation for the first user so they can create an account and become site admin.
Use this auth provider, if you have no organizational requirements to use a SSO provider.
diff --git a/docs/admin/auth/index.mdx b/docs/admin/auth/index.mdx
index a60f00e10..aafcb4c3f 100644
--- a/docs/admin/auth/index.mdx
+++ b/docs/admin/auth/index.mdx
@@ -50,7 +50,7 @@ If you are unsure which auth provider is right for you, we recommend applying th
order:
- If you have no external identity providers (i.e., not SSO) or are just trying to spin Sourcegraph
- up as quickly as possible to try, use [`builtin`](#builtin-password-authentication) authentication. You can
+ up as quickly as possible to try, use [`builtin`](/admin/auth/builtin) authentication. You can
always change the auth configuration later, and user identities from external providers will be
linked automatically to existing Sourcegraph accounts using verified email addresses.
- If you are deploying Sourcegraph behind a HTTP authentication proxy service, use the
@@ -405,7 +405,7 @@ Users can then add Gerrit credentials by visiting their **Settings** > **Account
## OpenID Connect
-The [`openidconnect` auth provider](/admin/config/site-config#openid-connect-including-google-workspace) authenticates users via OpenID Connect, which is supported by many external services, including:
+The [`openidconnect` auth provider](/admin/auth#openid-connect) authenticates users via OpenID Connect, which is supported by many external services, including:
- [Google Workspace (Google accounts)](#google-workspace-google-accounts)
- [Okta](https://developer.okta.com/docs/api/resources/oidc.html)
@@ -427,7 +427,7 @@ To configure Sourcegraph to authenticate users via OpenID Connect:
1. Provide the OpenID Connect client's issuer, client ID, and client secret in the Sourcegraph site configuration shown below.
1. (Optional) Require users to have a specific email domain name to authenticate (e.g., to limit users to only those from your organization).
-Example [`openidconnect` auth provider](/admin/config/site-config#openid-connect-including-google-workspace) configuration:
+Example [`openidconnect` auth provider](/admin/auth#openid-connect) configuration:
```json
{
@@ -449,7 +449,7 @@ Example [`openidconnect` auth provider](/admin/config/site-config#openid-connect
Sourcegraph supports the OpenID Connect Discovery standard for configuring the auth provider (using the values provided in the document at, e.g., `https://oidc.example.com/.well-known/openid-configuration`).
-See the [`openid` auth provider documentation](/admin/config/site-config#openid-connect-including-google-workspace) for the full set of configuration options.
+See the [`openid` auth provider documentation](/admin/auth#openid-connect) for the full set of configuration options.
### How to control user sign-up with OpenID auth provider
@@ -478,7 +478,7 @@ Google's Workspace (formerly known as G Suite) supports OpenID Connect, which is
1. Use the **client ID** and **client secret** values in Sourcegraph site configuration (as shown in the example below).
1. Set your Google Workspace domain in `requireEmailDomain` to prevent users outside your organization from signing in.
-Example [`openidconnect` auth provider](/admin/config/site-config#openid-connect-including-google-workspace) configuration for Google Workspace:
+Example [`openidconnect` auth provider](/admin/auth#openid-connect) configuration for Google Workspace:
```json
{
diff --git a/docs/admin/auth/login-form.mdx b/docs/admin/auth/login-form.mdx
index 38576c8a9..dd922af96 100644
--- a/docs/admin/auth/login-form.mdx
+++ b/docs/admin/auth/login-form.mdx
@@ -8,7 +8,7 @@ The login form allows users to sign in to Sourcegraph using [configured auth pro
Generated ID of the event, currently expected to be UUID v4.
| -| timestamp | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | |Timestamp of when the original event was recorded.
| +| timestamp | [google.protobuf.Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp) | |Timestamp of when the original event was recorded.
| | feature | [string](#string) | |Feature associated with the event in camelCase, e.g. 'myFeature'.
| | action | [string](#string) | |Action associated with the event in camelCase, e.g. 'pageView'.
| | source | [EventSource](#telemetrygateway-v1-EventSource) | |Source of the event.
| @@ -194,7 +194,7 @@ callsites, and is the primary means of recording product interaction metadata. | version | [int32](#int32) | |Version of the event parameters, used for indicating the "shape" of this
event's metadata, beginning at 0. Useful for denoting if the shape of
metadata has changed in any way.
| | legacy_metadata | [EventParameters.LegacyMetadataEntry](#telemetrygateway-v1-EventParameters-LegacyMetadataEntry) | repeated | **Deprecated.**DEPRECATED, legacy metadata format that only accepted int64 - use the new
'metadata' field instead, which accepts float values. Values sent through
this proto field will be merged into the new metadata attributes.
| | metadata | [EventParameters.MetadataEntry](#telemetrygateway-v1-EventParameters-MetadataEntry) | repeated |Strictly typed exported-by-default metadata, restricted to numeric values
to ensure no sensitive attributes are exported. Sourcegraph telemetry SDKs
must use programming language type-checking to ensure metadata keys are
statically known.
| -| private_metadata | [google.protobuf.Struct](#google-protobuf-Struct) | optional |Additional potentially sensitive metadata - i.e. not restricted to numeric
values.
🚨 SECURITY: This metadata is NOT exported from instances by default, as it
can contain arbitrarily-shaped data that may accidentally contain sensitive
or private contents.
This metadata is only exported on an allowlist basis based on terms of
use agreements and combinations of event feature and action, alongside
careful audit of callsites. For the list of allowlisted properties, refer
to this generated page:
https://sourcegraph.com/docs/admin/telemetry/private-metadata-allowlist
| +| private_metadata | [google.protobuf.Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct) | optional |Additional potentially sensitive metadata - i.e. not restricted to numeric
values.
🚨 SECURITY: This metadata is NOT exported from instances by default, as it
can contain arbitrarily-shaped data that may accidentally contain sensitive
or private contents.
This metadata is only exported on an allowlist basis based on terms of
use agreements and combinations of event feature and action, alongside
careful audit of callsites. For the list of allowlisted properties, refer
to this generated page:
https://sourcegraph.com/docs/admin/telemetry/private-metadata-allowlist
| | billing_metadata | [EventBillingMetadata](#telemetrygateway-v1-EventBillingMetadata) | optional |Optional billing-related metadata.
| diff --git a/docs/batch-changes/rebasing-changesets.mdx b/docs/batch-changes/rebasing-changesets.mdx index 6ddd991f6..3cf00dafb 100644 --- a/docs/batch-changes/rebasing-changesets.mdx +++ b/docs/batch-changes/rebasing-changesets.mdx @@ -12,7 +12,7 @@ If your codehost requires changesets to be up to date with the main branch, you ## Requirements -- Sourcegraph instance with repositories in it. See the [Quickstart](/#quick-install) guide on how to set up a Sourcegraph instance +- Sourcegraph instance with repositories in it. See the [Quickstart](/self-hosted/deploy) guide on how to set up a Sourcegraph instance - A [global service account token](/batch-changes/configuring-credentials#global-service-account-tokens) for Batch Changes (**a personal access token cannot currently be used for importing changesets**) ## Select changesets to rebase diff --git a/docs/batch-changes/tracking-existing-changesets.mdx b/docs/batch-changes/tracking-existing-changesets.mdx index cfad94d92..2b18c09e9 100644 --- a/docs/batch-changes/tracking-existing-changesets.mdx +++ b/docs/batch-changes/tracking-existing-changesets.mdx @@ -12,7 +12,7 @@ Batch Changes allow you not only to [publish changesets](/batch-changes/publishi ## Requirements -- Sourcegraph instance with repositories in it. See the [Quickstart](/#quick-install) guide on how to set up a Sourcegraph instance +- Sourcegraph instance with repositories in it. See the [Quickstart](/self-hosted/deploy) guide on how to set up a Sourcegraph instance - A [global service account token](/batch-changes/configuring-credentials#global-service-account-tokens) for Batch Changes (**a personal access token cannot currently be used for importing changesets**) ## Importing changesets into a batch change diff --git a/docs/cloud/index.mdx b/docs/cloud/index.mdx index 04864de2c..11fe73cd3 100644 --- a/docs/cloud/index.mdx +++ b/docs/cloud/index.mdx @@ -152,7 +152,7 @@ All Sourcegraph Cloud instances are provisioned with a Sourcegraph-managed SMTP - [Code Monitoring](/code-monitoring/) notifications - Inviting other users to a Sourcegraph instance, or to an organization/team on a Sourcegraph instance - Important updates to user accounts (for example, creation of API keys) -- For [`builtin` authentication](/admin/auth/#builtin-password-authentication), password resets and email verification +- For [`builtin` authentication](/admin/auth/builtin), password resets and email verification By default, emails will be sent from an `@cloud.sourcegraph.com` email address. To test email delivery, refer to [sending a test email](/self-hosted/email#sending-a-test-email). diff --git a/docs/code-insights/language-insight-quickstart.mdx b/docs/code-insights/language-insight-quickstart.mdx index 2723c24f9..193f5c352 100644 --- a/docs/code-insights/language-insight-quickstart.mdx +++ b/docs/code-insights/language-insight-quickstart.mdx @@ -14,7 +14,7 @@ For more information about Code Insights see the [Code Insights](/code-insights/ ### 1. Visit your Sourcegraph instance /Insights page and select "+ Create new insight" -If you don't see the /Insights page you need to [enable code insights](quickstart#1-enable-the-experimental-feature-flag). +If you don't see the /Insights page you need to [enable code insights](/code-insights/quickstart#1-if-need-be-enable-the-experimental-feature-flag). ### 2. On the insight type selection page, select "Create language usage insight" diff --git a/docs/code-insights/quickstart.mdx b/docs/code-insights/quickstart.mdx index 2f2533c09..2ad382d01 100644 --- a/docs/code-insights/quickstart.mdx +++ b/docs/code-insights/quickstart.mdx @@ -13,7 +13,7 @@ For more information about Code Insights see the [Code Insights](/code-insights/ ## Requirements - You are a Sourcegraph enterprise customer. (Want code insights but aren't enterprise? [Let us know](mailto:feedback@sourcegraph.com).) -- Your Sourcegraph instance has at least 1 repository. (See "[Quickstart](/#quick-install)" on how to setup a Sourcegraph instance.) +- Your Sourcegraph instance has at least 1 repository. (See "[Quickstart](/self-hosted/deploy)" on how to setup a Sourcegraph instance.) - Your Sourcegraph instance is deployed via [Docker Compose](/self-hosted/deploy/docker-compose/) or [Kubernetes](/self-hosted/deploy/kubernetes/). - You are running Sourcegraph version 3.31.1 (August 2021 release) or later. - Note: If you're on Sourcegraph version 3.24 to 3.28, you can instead follow [this gist](https://gist.github.com/Joelkw/f0582b164578aabc3ac936dee43f23e0) to create an insight. Due to the early stage of the product, it's more likely you'll run into trouble, though, so we recommend that you either upgrade your Sourcegraph or reach out to your Sourcegraph reps for help. diff --git a/docs/getting-started/github-vs-sourcegraph.mdx b/docs/getting-started/github-vs-sourcegraph.mdx index f8d45c2f9..865f448f0 100644 --- a/docs/getting-started/github-vs-sourcegraph.mdx +++ b/docs/getting-started/github-vs-sourcegraph.mdx @@ -149,7 +149,7 @@ Symbol search makes it easier to find specific functions, variables, and more by Both GitHub code search and Sourcegraph support symbol searching. GitHub supports symbol search in 10 languages, including C#, Python, Go, Java, JavaScript, TypeScript, PHP, Protocol Buffers, Ruby, and Rust. -Sourcegraph’s [symbol search](/code-navigation/features#symbol-search) is available for more than 75 languages. +Sourcegraph’s [symbol search](/code-search/features#symbol-search) is available for more than 75 languages. | **Features** | **GitHub** | **Sourcegraph** | | --------------------------------------- | -------------------------------------------------------------------------------------------------- | --------------- | diff --git a/docs/self-hosted/deploy/docker-compose/operations.mdx b/docs/self-hosted/deploy/docker-compose/operations.mdx index 1e93ce31f..5e44101cb 100644 --- a/docs/self-hosted/deploy/docker-compose/operations.mdx +++ b/docs/self-hosted/deploy/docker-compose/operations.mdx @@ -8,8 +8,8 @@ The Sourcegraph Docker Compose yaml file uses [Docker volumes](https://docs.dock Guides for managing cloud storage and backups are available in our cloud-specific installation guides: -- [Storage and backups for Amazon Web Services](/self-hosted/deploy/docker-compose/aws#storage-and-backups) -- [Storage and backups for Azure](/self-hosted/deploy/docker-compose/aws#storage-and-backups) +- [Storage and backups for Amazon Web Services](/self-hosted/deploy/docker-compose/aws) +- [Storage and backups for Azure](/self-hosted/deploy/docker-compose/azure#storage-and-backups) - [Storage and backups for Google Cloud](/self-hosted/deploy/docker-compose/google-cloud#storage-and-backups) - [Storage and backups for Digital Ocean](/self-hosted/deploy/docker-compose/digitalocean#storage-and-backups) diff --git a/docs/self-hosted/deploy/kubernetes/configure.mdx b/docs/self-hosted/deploy/kubernetes/configure.mdx index 40ddd61be..149698893 100644 --- a/docs/self-hosted/deploy/kubernetes/configure.mdx +++ b/docs/self-hosted/deploy/kubernetes/configure.mdx @@ -49,7 +49,7 @@ Sourcegraph has removed Role-Based Access Control (RBAC) resources from the defa ### Non-Privileged -By default, all Sourcegraph services are deployed in a non-root and non-privileged mode, as defined in the [base](/self-hosted/deploy/kubernetes/kustomize/#base) cluster. +By default, all Sourcegraph services are deployed in a non-root and non-privileged mode, as defined in the [base](https://github.com/sourcegraph/deploy-sourcegraph-k8s/tree/master/base) cluster. ### Privileged diff --git a/docs/self-hosted/deploy/kubernetes/kustomize.mdx b/docs/self-hosted/deploy/kubernetes/kustomize.mdx index cfa8f9457..f7fe1fc81 100644 --- a/docs/self-hosted/deploy/kubernetes/kustomize.mdx +++ b/docs/self-hosted/deploy/kubernetes/kustomize.mdx @@ -53,7 +53,7 @@ See the [docs on reference repository](/self-hosted/deploy/repositories) for det ### **Step 2**: Set up a directory for your instance -Create a copy of the [instances/template](/self-hosted/deploy/kubernetes/kustomize/#template) directory and rename it to `instances/my-sourcegraph`: +Create a copy of the [instances/template](https://github.com/sourcegraph/deploy-sourcegraph-k8s/tree/master/instances/template) directory and rename it to `instances/my-sourcegraph`: ```bash $ cp -R instances/template instances/my-sourcegraph diff --git a/docs/self-hosted/deploy/kubernetes/kustomize/migrate.mdx b/docs/self-hosted/deploy/kubernetes/kustomize/migrate.mdx index ed328c5c5..10a4e8e6d 100644 --- a/docs/self-hosted/deploy/kubernetes/kustomize/migrate.mdx +++ b/docs/self-hosted/deploy/kubernetes/kustomize/migrate.mdx @@ -61,7 +61,7 @@ Set up a release branch from the latest version branch in your local fork of the ## Step 3: Set up a directory for your instance -Create a copy of the [instances/template](/self-hosted/deploy/kubernetes/kustomize/#template) directory and rename it to `instances/my-sourcegraph`: +Create a copy of the [instances/template](https://github.com/sourcegraph/deploy-sourcegraph-k8s/tree/master/instances/template) directory and rename it to `instances/my-sourcegraph`: ```bash $ cp -R instances/template instances/my-sourcegraph @@ -218,7 +218,7 @@ If your instance was deployed using the non-privileged overlay, you can follow t **2.** Review the changes to ensure that the manifests generated by your new overlay are similar to the ones currently being used by your active cluster. -[Compare the manifests](/self-hosted/deploy/kubernetes/kustomize/#between-an-overlay-and-a-running-cluster) generated by your new overlay with the ones in your running cluster using the command below: +[Compare the manifests](/self-hosted/deploy/kubernetes/operations#between-an-overlay-and-a-running-cluster) generated by your new overlay with the ones in your running cluster using the command below: ```bash $ kubectl diff -l deploy=sourcegraph -f cluster.yaml diff --git a/docs/self-hosted/deployment-best-practices.mdx b/docs/self-hosted/deployment-best-practices.mdx index d978adfb0..4a52e76c3 100644 --- a/docs/self-hosted/deployment-best-practices.mdx +++ b/docs/self-hosted/deployment-best-practices.mdx @@ -32,8 +32,8 @@ _Unless scale, resiliency, or some other legitimate need exists that necessitate ### Docker Compose -- Be sure your deployment meets our [Docker Compose requirements](/self-hosted/deploy/docker-compose/#requirements). -- Review the [configuration section](/self-hosted/deploy/docker-compose/#configuration) of our [Docker Compose deployment docs](/self-hosted/deploy/docker-compose/). +- Be sure your deployment meets our [Docker Compose requirements](/self-hosted/deploy/docker-compose#prerequisites). +- Review the [configuration section](/self-hosted/deploy/docker-compose/configuration) of our [Docker Compose deployment docs](/self-hosted/deploy/docker-compose/). ### Sourcegraph Server (single Docker container) diff --git a/docs/self-hosted/email.mdx b/docs/self-hosted/email.mdx index f8b28259f..b58744281 100644 --- a/docs/self-hosted/email.mdx +++ b/docs/self-hosted/email.mdx @@ -5,7 +5,7 @@ Sourcegraph uses an SMTP server of your choosing to send emails for: - [Code Monitoring](/code-monitoring/) notifications - Inviting other users to a Sourcegraph instance, or to an organization/team on a Sourcegraph instance - Important updates to a user accounts (for example, creation of API keys) -- For [`builtin` authentication](/admin/auth/#builtin-password-authentication), password resets and email verification +- For [`builtin` authentication](/admin/auth/builtin), password resets and email verification