Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/admin/audit-log.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/admin/auth/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/admin/how-to/site-admin-quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/batch-changes/delete-a-batch-change.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Learn in detail about how to close, delete, and opt out of a Batch Change.
</p>

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.

Expand Down
4 changes: 2 additions & 2 deletions docs/code-navigation/auto-indexing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/code-navigation/how-to/index-other-languages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The `src-cli` upload command will try to infer the repository and git commit by
<Callout type="note">
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.
</Callout>

Expand Down
2 changes: 1 addition & 1 deletion docs/code-navigation/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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. |

<Callout type="note">
Expand Down
2 changes: 1 addition & 1 deletion docs/code-search/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

<Callout type="note">
{' '}
Expand Down
2 changes: 1 addition & 1 deletion docs/cody/clients/install-jetbrains.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<Callout type="note">
Read and learn more about the [supported
Expand Down
2 changes: 1 addition & 1 deletion docs/cody/clients/install-vscode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</Callout>

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.

<Callout type="note">
Read more about all the supported LLM models
Expand Down
2 changes: 1 addition & 1 deletion docs/cody/core-concepts/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<QuickLink
title="Enterprise Architecture"
icon="installation"
href="/admin/architecture#cody"
href="/admin/architecture"
description="Understand how Cody Enterprise is deployed and fits into your environment."
/>

Expand Down
2 changes: 1 addition & 1 deletion docs/cody/enterprise/model-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/github-vs-sourcegraph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/integration/bitbucket-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/integration/github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/integration/gitlab.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/integration/phabricator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading
Loading