From c1af43a45d1677df9ac1030134aaa210b9af9e44 Mon Sep 17 00:00:00 2001 From: Marc <7050295+marcleblanc2@users.noreply.github.com> Date: Tue, 8 Sep 2026 00:30:54 +0000 Subject: [PATCH 1/3] fix/docs: fix remaining spelling errors found in CSpell dictionary Fix the four misspellings that #1855 missed and that still appear in non-generated docs: the `$LINTER_ERRROS` env var reference in the batch spec templating example (the step defines `LINTER_ERRORS`), `gorelaserConfig`, the `sguqery` code fence language, and the `lobal` image alt text. Co-authored-by: Amp Amp-Thread-ID: https://ampcode.com/threads/T-01a07e67-73b3-779f-8880-7ba770fe7ade --- docs/batch-changes/batch-spec-templating.mdx | 4 ++-- .../references/search-aggregations-use-cases.mdx | 4 ++-- docs/code-navigation/auto-indexing.mdx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/batch-changes/batch-spec-templating.mdx b/docs/batch-changes/batch-spec-templating.mdx index 09c6e3fe7..c0cec5a32 100644 --- a/docs/batch-changes/batch-spec-templating.mdx +++ b/docs/batch-changes/batch-spec-templating.mdx @@ -179,7 +179,7 @@ Put information in environment variables, based on the output of previous step ` ```yaml steps: - - run: echo $LINTER_ERRROS >> linter_errors.txt + - run: echo $LINTER_ERRORS >> linter_errors.txt container: alpine:3 env: LINTER_ERRORS: ${{ previous_step.stdout }} @@ -240,7 +240,7 @@ changesetTemplate: # Since templating fields use Go's `text/template` and `goreleaserConfig` was # parsed as YAML we can iterate over every field: body: | - This repository has a `gorelaserConfig`: ${{ outputs.goreleaserConfigExists.exists }}. + This repository has a `goreleaserConfig`: ${{ outputs.goreleaserConfigExists.exists }}. The `goreleaser.yml` defines the following `before.hooks`: diff --git a/docs/code-insights/references/search-aggregations-use-cases.mdx b/docs/code-insights/references/search-aggregations-use-cases.mdx index a5be72370..0aa10928e 100644 --- a/docs/code-insights/references/search-aggregations-use-cases.mdx +++ b/docs/code-insights/references/search-aggregations-use-cases.mdx @@ -24,7 +24,7 @@ file:package.json /"license":\s(.*),/ See which repositories import a library (group by repository) -```sguqery +```sgquery from '@sourcegraph/wildcard' ``` @@ -84,7 +84,7 @@ See all your tracer calls to track the growth of, or minimize spend on, tools li See which repositories import a library -```sguqery +```sgquery /from\s'\@sourcegraph\/wildcard/ ``` diff --git a/docs/code-navigation/auto-indexing.mdx b/docs/code-navigation/auto-indexing.mdx index 25647f9c8..2a2fe0b28 100644 --- a/docs/code-navigation/auto-indexing.mdx +++ b/docs/code-navigation/auto-indexing.mdx @@ -86,7 +86,7 @@ New policies can also be created to apply to the HEAD of the default branch, or ![Global auto-indexing policy configuration edit page](https://storage.googleapis.com/sourcegraph-assets/docs/images/code-intelligence/renamed/global-create-indexing.png) -![lobal auto-indexing policy configuration created confirmation](https://storage.googleapis.com/sourcegraph-assets/docs/images/code-intelligence/renamed/post-create.png) +![Global auto-indexing policy configuration created confirmation](https://storage.googleapis.com/sourcegraph-assets/docs/images/code-intelligence/renamed/post-create.png) New policies can be created to apply to a set of repositories that are matched by name. For example, you may want to enable indexing for a particular set of repositories (in this example, repositories in the `sourcegraph` organization). From bd416c96be9a8b27156559c010ff0a21b27fb213 Mon Sep 17 00:00:00 2001 From: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com> Date: Wed, 9 Sep 2026 04:11:15 -0600 Subject: [PATCH 2/3] fix/docs: Fix imedout -> timedout in src CLI curl example Moved from #1853 so that PR stays scoped to the CSpell check. --- docs/cli/explanations/env.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cli/explanations/env.mdx b/docs/cli/explanations/env.mdx index 574ed609c..3e8add5bd 100644 --- a/docs/cli/explanations/env.mdx +++ b/docs/cli/explanations/env.mdx @@ -93,6 +93,6 @@ src search -get-curl 'repogroup:swarm' curl \ -H 'Authorization: token ' \ -H 'authorization: Bearer What did the judge say to the dentist? Do you swear to pull the tooth, the whole tooth and nothing but the tooth?' \ - -d '{"query":"fragment FileMatchFields on FileMatch {\n\t\t\t\trepository {\n\t\t\t\t\tname\n\t\t\t\t\turl\n\t\t\t\t}\n\t\t\t\tfile {\n\t\t\t\t\tname\n\t\t\t\t\tpath\n\t\t\t\t\turl\n\t\t\t\t\tcontent\n\t\t\t\t\tcommit {\n\t\t\t\t\t\toid\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlineMatches {\n\t\t\t\t\tpreview\n\t\t\t\t\tlineNumber\n\t\t\t\t\toffsetAndLengths\n\t\t\t\t\tlimitHit\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfragment CommitSearchResultFields on CommitSearchResult {\n\t\t\t\tmessagePreview {\n\t\t\t\t\tvalue\n\t\t\t\t\thighlights{\n\t\t\t\t\t\tline\n\t\t\t\t\t\tcharacter\n\t\t\t\t\t\tlength\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tdiffPreview {\n\t\t\t\t\tvalue\n\t\t\t\t\thighlights {\n\t\t\t\t\t\tline\n\t\t\t\t\t\tcharacter\n\t\t\t\t\t\tlength\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlabel {\n\t\t\t\t\thtml\n\t\t\t\t}\n\t\t\t\turl\n\t\t\t\tmatches {\n\t\t\t\t\turl\n\t\t\t\t\tbody {\n\t\t\t\t\t\thtml\n\t\t\t\t\t\ttext\n\t\t\t\t\t}\n\t\t\t\t\thighlights {\n\t\t\t\t\t\tcharacter\n\t\t\t\t\t\tline\n\t\t\t\t\t\tlength\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcommit {\n\t\t\t\t\trepository {\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t\toid\n\t\t\t\t\turl\n\t\t\t\t\tsubject\n\t\t\t\t\tauthor {\n\t\t\t\t\t\tdate\n\t\t\t\t\t\tperson {\n\t\t\t\t\t\t\tdisplayName\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t fragment RepositoryFields on Repository {\n\t\t\tname\n\t\t\turl\n\t\t\texternalURLs {\n\t\t\t serviceType\n\t\t\t url\n\t\t\t}\n\t\t\tlabel {\n\t\t\t\thtml\n\t\t\t}\n\t\t }\n\n\t\t query ($query: String!) {\n\t\t\tsite {\n\t\t\t\tbuildVersion\n\t\t\t}\n\t\t\tsearch(query: $query) {\n\t\t\t results {\n\t\t\t\tresults{\n\t\t\t\t __typename\n\t\t\t\t ... on FileMatch {\n\t\t\t\t\t...FileMatchFields\n\t\t\t\t }\n\t\t\t\t ... on CommitSearchResult {\n\t\t\t\t\t...CommitSearchResultFields\n\t\t\t\t }\n\t\t\t\t ... on Repository {\n\t\t\t\t\t...RepositoryFields\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t\tlimitHit\n\t\t\t\tcloning {\n\t\t\t\t name\n\t\t\t\t}\n\t\t\t\tmissing {\n\t\t\t\t name\n\t\t\t\t}\n\t\t\t\timedout {\n\t\t\t\t name\n\t\t\t\t}\n\t\t\t\tmatchCount\n\t\t\t\telapsedMilliseconds\n\t\t\t\t...SearchResultsAlertFields\n\t\t\t }\n\t\t\t}\n\t\t }\n\t\t\n\tfragment SearchResultsAlertFields on SearchResults {\n\t\talert {\n\t\t\ttitle\n\t\t\tdescription\n\t\t\tproposedQueries {\n\t\t\t\tdescription\n\t\t\t\tquery\n\t\t\t}\n\t\t}\n\t}\n","variables":{"query":"repogroup:swarm"}}' \ + -d '{"query":"fragment FileMatchFields on FileMatch {\n\t\t\t\trepository {\n\t\t\t\t\tname\n\t\t\t\t\turl\n\t\t\t\t}\n\t\t\t\tfile {\n\t\t\t\t\tname\n\t\t\t\t\tpath\n\t\t\t\t\turl\n\t\t\t\t\tcontent\n\t\t\t\t\tcommit {\n\t\t\t\t\t\toid\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlineMatches {\n\t\t\t\t\tpreview\n\t\t\t\t\tlineNumber\n\t\t\t\t\toffsetAndLengths\n\t\t\t\t\tlimitHit\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfragment CommitSearchResultFields on CommitSearchResult {\n\t\t\t\tmessagePreview {\n\t\t\t\t\tvalue\n\t\t\t\t\thighlights{\n\t\t\t\t\t\tline\n\t\t\t\t\t\tcharacter\n\t\t\t\t\t\tlength\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tdiffPreview {\n\t\t\t\t\tvalue\n\t\t\t\t\thighlights {\n\t\t\t\t\t\tline\n\t\t\t\t\t\tcharacter\n\t\t\t\t\t\tlength\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlabel {\n\t\t\t\t\thtml\n\t\t\t\t}\n\t\t\t\turl\n\t\t\t\tmatches {\n\t\t\t\t\turl\n\t\t\t\t\tbody {\n\t\t\t\t\t\thtml\n\t\t\t\t\t\ttext\n\t\t\t\t\t}\n\t\t\t\t\thighlights {\n\t\t\t\t\t\tcharacter\n\t\t\t\t\t\tline\n\t\t\t\t\t\tlength\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcommit {\n\t\t\t\t\trepository {\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t\toid\n\t\t\t\t\turl\n\t\t\t\t\tsubject\n\t\t\t\t\tauthor {\n\t\t\t\t\t\tdate\n\t\t\t\t\t\tperson {\n\t\t\t\t\t\t\tdisplayName\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t fragment RepositoryFields on Repository {\n\t\t\tname\n\t\t\turl\n\t\t\texternalURLs {\n\t\t\t serviceType\n\t\t\t url\n\t\t\t}\n\t\t\tlabel {\n\t\t\t\thtml\n\t\t\t}\n\t\t }\n\n\t\t query ($query: String!) {\n\t\t\tsite {\n\t\t\t\tbuildVersion\n\t\t\t}\n\t\t\tsearch(query: $query) {\n\t\t\t results {\n\t\t\t\tresults{\n\t\t\t\t __typename\n\t\t\t\t ... on FileMatch {\n\t\t\t\t\t...FileMatchFields\n\t\t\t\t }\n\t\t\t\t ... on CommitSearchResult {\n\t\t\t\t\t...CommitSearchResultFields\n\t\t\t\t }\n\t\t\t\t ... on Repository {\n\t\t\t\t\t...RepositoryFields\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t\tlimitHit\n\t\t\t\tcloning {\n\t\t\t\t name\n\t\t\t\t}\n\t\t\t\tmissing {\n\t\t\t\t name\n\t\t\t\t}\n\t\t\t\ttimedout {\n\t\t\t\t name\n\t\t\t\t}\n\t\t\t\tmatchCount\n\t\t\t\telapsedMilliseconds\n\t\t\t\t...SearchResultsAlertFields\n\t\t\t }\n\t\t\t}\n\t\t }\n\t\t\n\tfragment SearchResultsAlertFields on SearchResults {\n\t\talert {\n\t\t\ttitle\n\t\t\tdescription\n\t\t\tproposedQueries {\n\t\t\t\tdescription\n\t\t\t\tquery\n\t\t\t}\n\t\t}\n\t}\n","variables":{"query":"repogroup:swarm"}}' \ https://cse-k8s.sgdev.org/.api/graphql ``` From 482e7c0be169146c576b7b75c7a992953797f07e Mon Sep 17 00:00:00 2001 From: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com> Date: Wed, 9 Sep 2026 04:21:55 -0600 Subject: [PATCH 3/3] fix/docs: Replace gibberish placeholders that CSpell flags Fake commit hash, tmp filename, pod name, TLS cert blobs, ARN, and base64 IDs in examples, replaced with placeholders that look realistic and pass the spell check. Moved from #1853. --- docs/admin/config/batch-changes.mdx | 6 +++--- docs/batch-changes/troubleshooting.mdx | 2 +- docs/code-monitoring/index.mdx | 4 ++-- docs/code-search/compare-file-filtering.mdx | 2 +- docs/cody/enterprise/model-config-examples.mdx | 2 +- docs/self-hosted/advanced-config-file.mdx | 2 +- docs/self-hosted/deploy/kubernetes/index.mdx | 8 ++++---- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/admin/config/batch-changes.mdx b/docs/admin/config/batch-changes.mdx index f87655a59..442da3d67 100644 --- a/docs/admin/config/batch-changes.mdx +++ b/docs/admin/config/batch-changes.mdx @@ -369,11 +369,11 @@ createBatchSpecLibraryRecord(name: "example", spec: "version: 2\nname: example") id } -updateBatchSpecLibraryRecord(id: "QmF0Y2hTcGVjTGlicmFyeVJlY29yZDo4", name: "example-2", spec: "version: 2\nname: example-2") { +updateBatchSpecLibraryRecord(id: "QmF0Y2hTcGVjTGlicmFyeVJlY29yZDoxMA==", name: "example-2", spec: "version: 2\nname: example-2") { id } -deleteBatchSpecLibraryRecord(id: "QmF0Y2hTcGVjTGlicmFyeVJlY29yZDo4") { +deleteBatchSpecLibraryRecord(id: "QmF0Y2hTcGVjTGlicmFyeVJlY29yZDoxMA==") { alwaysNil } @@ -403,7 +403,7 @@ createBatchSpecLibraryRecord(name: "example", spec: "version: 2\nname: example", labels } -updateBatchSpecLibraryRecord(id: "QmF0Y2hTcGVjTGlicmFyeVJlY29yZDo4", name: "example-2", spec: "version: 2\nname: example-2", labels: ["featured"]) { +updateBatchSpecLibraryRecord(id: "QmF0Y2hTcGVjTGlicmFyeVJlY29yZDoxMA==", name: "example-2", spec: "version: 2\nname: example-2", labels: ["featured"]) { id labels } diff --git a/docs/batch-changes/troubleshooting.mdx b/docs/batch-changes/troubleshooting.mdx index f87b6d79d..69c3981d2 100644 --- a/docs/batch-changes/troubleshooting.mdx +++ b/docs/batch-changes/troubleshooting.mdx @@ -151,7 +151,7 @@ Make sure that you put your `steps.run` command in `/tmp-script` (or any other l If executing the `steps` in the batch spec fails with a message that looks similar to this one (i.e., permission error). ```bash -/bin/sh: can't open '/tmp/tmp.IbdkiA': Permission denied +/bin/sh: can't open '/tmp/tmp.X9k2Tq': Permission denied ``` Or if you are in a locked-down environment, it's possible that Docker bind mounts won't work. diff --git a/docs/code-monitoring/index.mdx b/docs/code-monitoring/index.mdx index c811b4faf..9e98b3d4d 100644 --- a/docs/code-monitoring/index.mdx +++ b/docs/code-monitoring/index.mdx @@ -145,7 +145,7 @@ The HTTP POST request sent to the receiver will have a JSON-encoded body with th "results": [ { "repository": "github.com/test/test", - "commit": "7815187511872asbasdfgasd", + "commit": "7815187511872f3a6c9e0b4d2a8f1c5e7b9d3a01", "diff": "file1.go file2.go\n@ -97,5 +97,5 @ func Test() {\n leading context\n+matched added\n-matched removed\n trailing context\n", "matchedDiffRanges": [ [66, 73], @@ -154,7 +154,7 @@ The HTTP POST request sent to the receiver will have a JSON-encoded body with th }, { "repository": "github.com/test/test", - "commit": "7815187511872asbasdfgasd", + "commit": "7815187511872f3a6c9e0b4d2a8f1c5e7b9d3a01", "message": "summary line\n\nsample\ncommit\nmessage\n", "matchedMessageRanges": [[15, 19]] } diff --git a/docs/code-search/compare-file-filtering.mdx b/docs/code-search/compare-file-filtering.mdx index c49056d4f..b456b213c 100644 --- a/docs/code-search/compare-file-filtering.mdx +++ b/docs/code-search/compare-file-filtering.mdx @@ -114,7 +114,7 @@ The file filtering system uses a specialized file metadata query that is faster 3. Use a compressed file list for many files: ```bash - ?compressedFileList=H4sIAAAAAAAAA2NgYGBg... + ?compressedFileList=eJwrLkrW... ``` This flexible filtering system allows you to create customized views of repository comparisons, making reviewing changes in large projects easier. diff --git a/docs/cody/enterprise/model-config-examples.mdx b/docs/cody/enterprise/model-config-examples.mdx index 3a4735f69..3d51f7ead 100644 --- a/docs/cody/enterprise/model-config-examples.mdx +++ b/docs/cody/enterprise/model-config-examples.mdx @@ -696,7 +696,7 @@ In the configuration above, "modelName": "anthropic.claude-3-7-sonnet-20250219-v1:0", "serverSideConfig": { "type": "awsBedrockProvisionedThroughput", - "arn": "" // e.g., arn:aws:bedrock:us-west-2:537452198621:provisioned-model/57z3lgkt1cx2 + "arn": "" // e.g., arn:aws:bedrock:us-west-2:537452198621:provisioned-model/2k4z7m9x3q8t }, "contextWindow": { "maxInputTokens": 132000, diff --git a/docs/self-hosted/advanced-config-file.mdx b/docs/self-hosted/advanced-config-file.mdx index 010ef7fa5..6a88d343b 100644 --- a/docs/self-hosted/advanced-config-file.mdx +++ b/docs/self-hosted/advanced-config-file.mdx @@ -241,7 +241,7 @@ And similarly under the `volume` section: Now upon re-running `kubectl-apply-all.sh` Kubernetes should mount your `ConfigMap` into the container as files on disk and you should see them: ``` -$ kubectl exec -it sourcegraph-frontend-57dcb4d7db-6bclj -- ls /mnt/ +$ kubectl exec -it sourcegraph-frontend-57dcb4d7db-9tk4z -- ls /mnt/ global-settings.json extsvc.json site.json diff --git a/docs/self-hosted/deploy/kubernetes/index.mdx b/docs/self-hosted/deploy/kubernetes/index.mdx index a517c408d..433bdc8fb 100644 --- a/docs/self-hosted/deploy/kubernetes/index.mdx +++ b/docs/self-hosted/deploy/kubernetes/index.mdx @@ -586,9 +586,9 @@ type: kubernetes.io/tls data: # the data is abbreviated in this example tls.crt: | - MIIC2DCCAcCgAwIBAgIBATANBgkqh ... + LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCg== ... tls.key: | - MIIEpgIBAAKCAQEA7yn3bRHQ5FHMQ ... + LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQo= ... ``` ```sh @@ -912,9 +912,9 @@ type: kubernetes.io/tls data: # the data is abbreviated in this example tls.crt: | - MIIC2DCCAcCgAwIBAgIBATANBgkqh ... + LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCg== ... tls.key: | - MIIEpgIBAAKCAQEA7yn3bRHQ5FHMQ ... + LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQo= ... ``` ```sh