From d9da5b0d69e3c750db93b39f54496d8d3272352a Mon Sep 17 00:00:00 2001 From: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com> Date: Mon, 7 Sep 2026 17:21:59 -0600 Subject: [PATCH] Fix heading links to reworded headings (integrations, getting started, misc) --- docs/analytics/api.mdx | 2 +- docs/cloud/index.mdx | 2 +- docs/getting-started/github-vs-sourcegraph.mdx | 4 ++-- docs/getting-started/index.mdx | 4 ++-- docs/integration/bitbucket-server.mdx | 2 +- docs/integration/gitolite.mdx | 4 ++-- docs/integration/phabricator.mdx | 6 +++--- docs/technical-changelog.mdx | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/analytics/api.mdx b/docs/analytics/api.mdx index ae19db78b..45844e200 100644 --- a/docs/analytics/api.mdx +++ b/docs/analytics/api.mdx @@ -10,7 +10,7 @@ To get started, visit the [Sourcegraph Analytics access tokens management page]( ## API reference -To authenticate to the API, follow the instructions for [token creation](#token-creation). +To authenticate to the API, follow the instructions for [token creation](#access-tokens). Export your access token as an environment variable: diff --git a/docs/cloud/index.mdx b/docs/cloud/index.mdx index 04864de2c..01379570e 100644 --- a/docs/cloud/index.mdx +++ b/docs/cloud/index.mdx @@ -31,7 +31,7 @@ As part of this service you will receive a number of benefits from our team, inc - Initial resource estimations based on your organization & code size. - Putting forward a transparent deployment & cost estimate plan. -- Your own `example.sourcegraphcloud.com` domain with fully managed [DNS & HTTPS](/self-hosted/http-https-configuration). Optionally, you can [bring your own domain](#custom-domain). +- Your own `example.sourcegraphcloud.com` domain with fully managed [DNS & HTTPS](/self-hosted/http-https-configuration). Optionally, you can [bring your own domain](#custom-domains). - Hardware provisioning, software installation, and kernel configuration done for you. - Direct assistance in: - [Adding repositories from all of your code hosts to Sourcegraph](/admin/code-hosts/) diff --git a/docs/getting-started/github-vs-sourcegraph.mdx b/docs/getting-started/github-vs-sourcegraph.mdx index f8d45c2f9..3f6f9aaa1 100644 --- a/docs/getting-started/github-vs-sourcegraph.mdx +++ b/docs/getting-started/github-vs-sourcegraph.mdx @@ -131,7 +131,7 @@ In addition to searching your organization’s private code, you can use Sourceg Sourcegraph offers [structural search](/code-search/types/structural), and GitHub code search does not offer this search method. Structural search lets you match richer syntax patterns, specifically in code and structured data formats like JSON. Sourcegraph offers structural search on indexed code and uses [Comby syntax](https://comby.dev/docs/syntax-reference) for structural matching of code blocks or nested expressions. For example, the `fmt.Sprintf` function is a popular print function in Go. [Here](https://sourcegraph.com/search?q=repo:%5Egithub%5C.com/sourcegraph/about%24+fmt.Sprintf%28...%29&patternType=structural&_ga=2.204781593.827352295.1667227568-1057140468.1661198534&_gac=1.118615675.1665776224.CjwKCAjwkaSaBhA4EiwALBgQaJCOc6GlhIDQyg6HQScgfSBQpoFTUf7T_NNqEX5JaobtCS08GUEJuRoCIlIQAvD_BwE&_gl=1*1r2u5zs*_ga*MTA1NzE0MDQ2OC4xNjYxMTk4NTM0*_ga_E82CCDYYS1*MTY2NzUwODExNC4xMTQuMS4xNjY3NTA5NjUyLjAuMC4w) is a pattern that matches all of the arguments in `fmt.Sprintf` in our code using structural search compared to the [search](https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/sourcegraph/about%24+fmt.Sprintf%28...%29&patternType=regexp) using regex. -Both GitHub code search and Sourcegraph support regular expression and keyword search. [Regular expression](/code-search/queries#standard-search) helps you find code that matches a pattern (including classes of characters like letters, numbers, and whitespace) and can restrict the results to anchors like the start of a line, the end of a line, or word boundary. Keyword search matches on individual terms, supporting both literal searches and flexible keyword-style queries. +Both GitHub code search and Sourcegraph support regular expression and keyword search. [Regular expression](/code-search/queries#regular-expression-search) helps you find code that matches a pattern (including classes of characters like letters, numbers, and whitespace) and can restrict the results to anchors like the start of a line, the end of a line, or word boundary. Keyword search matches on individual terms, supporting both literal searches and flexible keyword-style queries. GitHub’s search syntax can be found [here](https://cs.github.com/about/syntax), and Sourcegraph’s search syntax can be found [here](/code-search/queries). @@ -221,7 +221,7 @@ Search contexts are an alternative way to narrow down the scope of your search t You can create custom search contexts to be simple or advanced with GitHub. Simple search contexts are things such as repository or organization name, and advanced search contexts can mix multiple attributes, including languages. GitHub’s search contexts allow for more personalization than Sourcegraph. -With Sourcegraph, a [search context](/code-search/working/search-contexts) represents the body of code that will be searched. Search contexts can be private to the user who creates it or shared with other users on the same Sourcegraph instance. [Query-based ](/code-search/working/search-contexts#beta-query-based-search-contexts)search contexts (beta) are an additional way to create search contexts based on variables like repository, rev, file, lang, case, fork, and visibility. Both [OR] and [AND] expressions are allowed to help further narrow the scope of query-based search contexts. +With Sourcegraph, a [search context](/code-search/working/search-contexts) represents the body of code that will be searched. Search contexts can be private to the user who creates it or shared with other users on the same Sourcegraph instance. [Query-based ](/code-search/working/search-contexts#query-based-search-contexts)search contexts (beta) are an additional way to create search contexts based on variables like repository, rev, file, lang, case, fork, and visibility. Both [OR] and [AND] expressions are allowed to help further narrow the scope of query-based search contexts. | **Features** | **GitHub** | **Sourcegraph** | | --------------- | ----------------------- | ------------------------------------ | diff --git a/docs/getting-started/index.mdx b/docs/getting-started/index.mdx index 66a39b182..ca140b583 100644 --- a/docs/getting-started/index.mdx +++ b/docs/getting-started/index.mdx @@ -45,7 +45,7 @@ Sourcegraph's main features are: - [Code Insights](#code-insights): reveal high-level information about your codebase at its current state and over time to track migrations, version usage, vulnerability remediation, ownership, and anything else you can search in Sourcegraph - [Batch Changes](#batch-changes): make large-scale code changes across many repositories and code hosts - [Integrations](#integrations) with code hosts, code review tools, editors, web browsers, etc. -- [MCP Server](#mcp-server-integration): Connect AI tools and IDEs to Sourcegraph's code intelligence capabilities through the Model Context Protocol +- [MCP Server](#mcp-server): Connect AI tools and IDEs to Sourcegraph's code intelligence capabilities through the Model Context Protocol ## How do I start using Sourcegraph? @@ -71,7 +71,7 @@ Sourcegraph code search is fast, works across all your repositories at any commi - [Powerful, flexible query syntax](/code-search/queries) - [Commit diff search](/code-search/features#commit-diff-search) - [Commit message search](/code-search/features#commit-message-search) -- [Saved search scopes](/code-search/features#search-scopes) +- [Saved search scopes](/code-search/features#saved-searches) - [Search contexts to search across a set of repositories at specific revisions](/code-search/features#search-contexts) - [Saved search monitoring](/code-monitoring/) diff --git a/docs/integration/bitbucket-server.mdx b/docs/integration/bitbucket-server.mdx index 9c806e9e6..37a641d9e 100644 --- a/docs/integration/bitbucket-server.mdx +++ b/docs/integration/bitbucket-server.mdx @@ -7,7 +7,7 @@ You can use Sourcegraph with Git repositories hosted on [Bitbucket Server](https | [Repository syncing](/admin/code-hosts/bitbucket-server) | ✅ | | [Webhooks](/admin/code-hosts/bitbucket-server#webhooks) | ✅ | | [Repository permissions](/admin/code-hosts/bitbucket-server#repository-permissions) | ✅ | -| [Sourcegraph Bitbucket Server plugin](#sourcegraph-bitbucket-server-plugin) | ✅ | +| [Sourcegraph Bitbucket Server plugin](#sourcegraph-bitbucket-plugin) | ✅ | | [Browser extension](#browser-extension) | ✅ | ## Repository syncing diff --git a/docs/integration/gitolite.mdx b/docs/integration/gitolite.mdx index 1ac9de9d3..d605e7adf 100644 --- a/docs/integration/gitolite.mdx +++ b/docs/integration/gitolite.mdx @@ -4,12 +4,12 @@ You can use Sourcegraph with [Gitolite](http://gitolite.com/). | Feature | Supported? | | ------------------------------------------------------------------- | ---------- | -| [Repository syncing](/admin/code-hosts/gitolite#repository-syncing) | ✅ | +| [Repository syncing](/admin/code-hosts/gitolite#configuration) | ✅ | | [Browser extension](#browser-extension) | ❌ | ## Repository syncing -Site admins can [sync Gitolite repositories to Sourcegraph](/admin/code-hosts/gitolite#repository-syncing). +Site admins can [sync Gitolite repositories to Sourcegraph](/admin/code-hosts/gitolite#configuration). ## Browser extension diff --git a/docs/integration/phabricator.mdx b/docs/integration/phabricator.mdx index 64331e99e..96d193923 100644 --- a/docs/integration/phabricator.mdx +++ b/docs/integration/phabricator.mdx @@ -6,8 +6,8 @@ This Phabricator integration does not support listing and mirroring Phabricator | Feature | Supported? | | ------------------------------------------------------------------------------------------------ | ---------- | -| [Repository syncing and mirroring](/admin/code-hosts/phabricator#repository-linking-and-syncing) | ❌ | -| [Repository association](/admin/code-hosts/phabricator#repository-linking-and-syncing) | ✅ | +| [Repository syncing and mirroring](/admin/code-hosts/phabricator#repository-association) | ❌ | +| [Repository association](/admin/code-hosts/phabricator#repository-association) | ✅ | | [Repository permission syncing](/admin/permissions/syncing) | ❌ | | [User authentication](/admin/auth/) | ❌ | | [Browser extension](#browser-extension) | ✅ | @@ -15,7 +15,7 @@ This Phabricator integration does not support listing and mirroring Phabricator ## Repository association -Site admins can [associate Phabricator repositories with Sourcegraph](/admin/code-hosts/phabricator#repository-syncing-and-linking). +Site admins can [associate Phabricator repositories with Sourcegraph](/admin/code-hosts/phabricator#repository-association). ## Browser extension diff --git a/docs/technical-changelog.mdx b/docs/technical-changelog.mdx index 9169574f3..39719440e 100644 --- a/docs/technical-changelog.mdx +++ b/docs/technical-changelog.mdx @@ -12603,7 +12603,7 @@ The following PRs were merged onto the previous release branch but could not be ### Added - A new look for Sourcegraph, previously in beta as "Simple UI", is now permanently enabled. [#41021](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/41021) -- A new [multi-version upgrade](/self-hosted/updates#multi-version-upgrades) process now allows Sourcegraph instances to upgrade more than a single minor version. Instances at version 3.20 or later can now jump directly to 4.0. [#40628](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/40628) +- A new [multi-version upgrade](/self-hosted/updates#upgrade-types) process now allows Sourcegraph instances to upgrade more than a single minor version. Instances at version 3.20 or later can now jump directly to 4.0. [#40628](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/40628) - Matching ranges in file paths are now highlighted for path results and content results. Matching paths in repository names are now highlighted for repository results. [#41296](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/41296) [#41385](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/41385) [#41470](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/41470) - Aggregations by repository, file, author, and capture group are now provided for search results. [#39643](https://github.com/sourcegraph/sourcegraph-public-snapshot/issues/39643) - Blob views and search results are now lazily syntax highlighted for better performance. [#39563](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/39563) [#40263](https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/40263)