From 47a6e4bccb8b0f83c69211bdc9301b3c5319d0f1 Mon Sep 17 00:00:00 2001 From: Erik Seliger Date: Sun, 26 Apr 2026 16:06:45 +0200 Subject: [PATCH 1/2] Cleanup and improve code search docs a bit Read through some of these pages and noticed some things. --- docs/code-navigation/index.mdx | 21 +- docs/code-navigation/troubleshooting.mdx | 55 +++-- docs/code-search/faq.mdx | 27 +-- docs/code-search/features.mdx | 11 - docs/code-search/how-to/index.mdx | 3 +- docs/code-search/index.mdx | 28 +-- docs/code-search/queries/index.mdx | 45 ++--- docs/code-search/queries/language.mdx | 201 +++++++++---------- docs/code-search/types/search-jobs.mdx | 58 ++---- docs/code-search/types/structural.mdx | 25 ++- docs/code-search/types/symbol.mdx | 18 +- docs/code-search/working/saved-searches.mdx | 14 +- docs/code-search/working/search-contexts.mdx | 85 ++++---- 13 files changed, 266 insertions(+), 325 deletions(-) diff --git a/docs/code-navigation/index.mdx b/docs/code-navigation/index.mdx index 83444757b..56963f786 100644 --- a/docs/code-navigation/index.mdx +++ b/docs/code-navigation/index.mdx @@ -11,9 +11,9 @@ seoPriority: 1.0 Code Navigation helps you quickly understand your code, its dependencies, and symbols within the Sourcegraph file view while making it easier to move through your codebase via: -- Onboarding to codebases faster with cross-repository code navigation features like [Go to definition](/code-navigation/features#go-to-definition) and [Find references](/code-navigation/features#find-references) -- Providing complete precise reviews, getting up to speed on unfamiliar code, and determining the impact of code changes with the confidence of compiler-accurate code navigation -- Determining the root causes quickly with precise code navigation that tracks references across repositories and package dependencies +- Onboarding to codebases faster with cross-repository code navigation features like [Go to definition](/code-navigation/features#go-to-definition) and [Find references](/code-navigation/features#find-references) +- Providing complete precise reviews, getting up to speed on unfamiliar code, and determining the impact of code changes with the confidence of compiler-accurate code navigation +- Determining the root causes quickly with precise code navigation that tracks references across repositories and package dependencies