Skip to content
Merged
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
4 changes: 2 additions & 2 deletions dev/rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const generateRssFeed = () => {
id: siteURL,
link: baseURL,
language: 'en',
image: `${siteURL}/favicon.png`,
favicon: `${siteURL}/favicon.ico`,
image: `${siteURL}/sourcegraph-mark.png`,
favicon: `${siteURL}/sourcegraph-mark.png`,
copyright: `All rights reserved ${date.getFullYear()}, Sourcegraph`,
updated: date,
generator: 'Sourcegraph RSS Feed',
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/config/webhooks/incoming.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ To retain webhook logs for one day:
```json
{
"webhook.logging": {
"enabled": false,
"enabled": true,
"retention": "24h"
}
}
Expand Down
12 changes: 10 additions & 2 deletions docs/admin/deploy/machine-images/aws-ami.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ Following these docs will provision the following resources:
- A root EBS volume with 50GB of storage
- An additional EBS volume with 500GB of storage for storing code and search indices

### Sourcegraph AMI account ID

All Sourcegraph AMIs are published from one of the following AWS accounts:

- Account ID: `840044800169`
- Account ID: `870751268155`


### Instance size chart

Select an AMI according and instance type to the number of users and repositories you have using this table. If you fall between two sizes, choose the larger of the two.
Expand All @@ -26,7 +34,7 @@ Click [here](https://github.com/sourcegraph/deploy#amazon-ec2-amis) to see the c

**The default AMI username is `ec2-user`.**

<Callout type="note">AMIs are optimized for the specific set of resources provided by the instance type, please ensure you use the correct AMI for the associated EC2 instance type. You can [resize your EC2 instance anytime](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html), but your Sourcegraph AMI must match accordingly. If needed, follow the [upgrade steps](#upgrade) to switch to the correct AMI image that is optimized for your EC2 instance type.</Callout>
<Callout type="note">While we recommend certain image types in our sizing chart, AMIs will dynamically use the resources available on the EC2 instance type they are deployed to, provided the minimum amount of resources needed is available. If you would like to resize your EC2 instance, follow the [upgrade steps](#upgrade) to switch to the correct AMI image that is optimized for your EC2 instance type.</Callout>

---

Expand All @@ -35,7 +43,7 @@ Click [here](https://github.com/sourcegraph/deploy#amazon-ec2-amis) to see the c
1. In the [instance size chart](#instance-size-chart), click the link for the AMI that matches your deployment size.
2. Choose **Launch instance from AMI**.
3. Name your instance.
4. Select an **instance type** according to [the sizing chart](#instance-size-chart).
4. Select an **instance type** according to [the sizing chart](#instance-size-chart) or your needs.
5. **Key pair (login)**: Select or create a new Key Pair for connecting to your instance securely (this may be required in the event you need support).
6. **Network settings**:
- Under "Auto-assign public IP" select "Enable".
Expand Down
7 changes: 7 additions & 0 deletions docs/batch-changes/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Batch Changes

<TierCallout>
Supported on [Enterprise](/pricing/enterprise) plans.
<user>
Currently available via the Web app.
</user>
</TierCallout>

<p className="subtitle">This section is about Batch Changes, which helps you automate and ship large-scale code changes across many repositories and code hosts.</p>

Batch Changes helps you ship large-scale code changes across many repositories and code hosts. You can create pull requests on all affected repositories, and it tracks their progress until they're all merged. You can also preview the changes and update them at any time.
Expand Down
9 changes: 7 additions & 2 deletions docs/code-search/code-navigation/auto_indexing.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Auto-indexing

<p className="subtitle">Learn and understand how auto-indexing works.</p>
<TierCallout>
Supported on [Enterprise](/pricing/enterprise) plans.
<user>
Currently in Beta and available via Web app.
</user>
</TierCallout>

<Callout type="note">Auto-indexing is currently in Beta stage.</Callout>
<p className="subtitle">Learn and understand how auto-indexing works.</p>

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-search/code-navigation/auto_indexing#enable-auto-indexing) and [auto-indexing policies are configured](/code-search/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.

Expand Down
7 changes: 7 additions & 0 deletions docs/code-search/code-navigation/precise_code_navigation.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Precise Code Navigation

<TierCallout>
Supported on [Enterprise](/pricing/enterprise) plans.
<user>
Available via the Web app.
</user>
</TierCallout>

<p className="subtitle">Learn and understand about Precise Code Navigation.</p>

Precise Code Navigation is an opt-in feature that is enabled from your admin settings and requires you to upload indexes for each repository to your Sourcegraph instance. Once setup is complete on Sourcegraph, precise code navigation is available for use across popular development tools:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Search-based Code Navigation

<TierCallout>
Supported on [Enterprise Starter](/pricing/enterprise-starter) and [Enterprise](/pricing/enterprise) plans.
<user>
Available via VS Code and JetBrains editor extensions and the Web.
</user>
</TierCallout>

<p className="subtitle">Learn and understand about Search-based Code Navigation.</p>

Sourcegraph comes with a default built-in code navigation provided by search-based heuristics. It works out of the box with all of the most popular programming languages.
Expand Down
7 changes: 7 additions & 0 deletions docs/code-search/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Code Search

<TierCallout>
Supported on [Enterprise Starter](/pricing/enterprise-starter) and [Enterprise](/pricing/enterprise) plans.
<user>
Available via VS Code and JetBrains editor extensions and the Web.
</user>
</TierCallout>

<p className="subtitle">Learn how to search code across all your repositories and code hosts.</p>

**Code Search** allows you to find, fix, and navigate code with any code host or language across multiple repositories with real-time updates. It deeply understands your code, prioritizing the most relevant results for an enhanced search experience.
Expand Down
7 changes: 7 additions & 0 deletions docs/code-search/types/search-jobs.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Search Jobs

<TierCallout>
Supported on [Enterprise](/pricing/enterprise) plans.
<user>
Currently available via the Web app.
</user>
</TierCallout>

Use Search Jobs to search code at scale for large-scale organizations.

Search Jobs allows you to run search queries across your organization's codebase (all repositories, branches, and revisions) at scale. It enhances the existing Sourcegraph's search capabilities, enabling you to run searches without query timeouts or incomplete results.
Expand Down
7 changes: 7 additions & 0 deletions docs/code-search/types/symbol.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Symbol search

<TierCallout>
Supported on [Enterprise Starter](/pricing/enterprise-starter) and [Enterprise](/pricing/enterprise) plans.
<user>
Available via VS Code and JetBrains editor extensions and the Web.
</user>
</TierCallout>

We use [Ctags](https://github.com/universal-ctags/ctags) to index the symbols of a repository on demand. These symbols are used to implement symbol search, matching declarations instead of plain text.

![symbol-search](https://storage.googleapis.com/sourcegraph-assets/Docs/Symbols.png)
Expand Down
7 changes: 7 additions & 0 deletions docs/code_insights/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Code Insights

<TierCallout>
Supported on [Enterprise](/pricing/enterprise) plans.
<user>
Currently available via the Web app.
</user>
</TierCallout>

<p className="subtitle">Anything you can search, you can track and analyze</p>

<img src="https://sourcegraphstatic.com/docs/images/code_insights/insights_index_dark.png" />
Expand Down
7 changes: 7 additions & 0 deletions docs/code_monitoring/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Code monitoring

<TierCallout>
Supported on [Enterprise](/pricing/enterprise) plans.
<user>
Currently available via the Web app.
</user>
</TierCallout>

<p className="subtitle">Keep on top of events in your codebase</p>

Watch your code with code monitors and trigger actions to run automatically in response to events.
Expand Down
7 changes: 7 additions & 0 deletions docs/cody/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Cody

<TierCallout>
Supported on all [Sourcegraph plans](https://about.sourcegraph.com/pricing).
<user>
Available on VS Code, JetBrains, Visual Studio, Eclipse and the Web.
</user>
</TierCallout>

Cody is an AI coding assistant that uses all the latest LLMs and your development context to help you understand, write, and fix code faster. It uses the powerful Sourcegraph's advanced Search API to pull context from both local and remote codebases so that you can use context about APIs, symbols, and usage patterns from across your entire codebase.

<video width="1920" height="1080" loop playsInline controls style={{ width: '100%', height: 'auto' }}>
Expand Down
Loading