Skip to content

Commit badff08

Browse files
zahidalidevMaedahBatooljdpleinessmarcleblanc2
authored
Docs website brand refresh (#904)
This PR includes the following updates: 1. **UI Updates**: - Modified the UI to align with the new design. 2. **TierCallout Component**: - Introduced a new `TierCallout` component for `.mdx` files. - Example usage: ```jsx <TierCallout> Visit the [pricing page](https://about.sourcegraph.com/pricing) for up-to-date pricing. <user> This feature is available for Enterprise users with [premium support](https://about.sourcegraph.com/support). </user> </TierCallout> ``` 3. **New Layout Component**: - Added a new component inside `Layout` featuring tabs and a video container. - Included demo content for now, which will be updated based on instructions. --------- Co-authored-by: Maedah Batool <[email protected]> Co-authored-by: Jacob Pleiness <[email protected]> Co-authored-by: Marc <[email protected]>
1 parent af559eb commit badff08

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+635
-442
lines changed

dev/rss.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const generateRssFeed = () => {
3030
id: siteURL,
3131
link: baseURL,
3232
language: 'en',
33-
image: `${siteURL}/favicon.png`,
34-
favicon: `${siteURL}/favicon.ico`,
33+
image: `${siteURL}/sourcegraph-mark.png`,
34+
favicon: `${siteURL}/sourcegraph-mark.png`,
3535
copyright: `All rights reserved ${date.getFullYear()}, Sourcegraph`,
3636
updated: date,
3737
generator: 'Sourcegraph RSS Feed',

docs/batch-changes/index.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Batch Changes
22

3+
<TierCallout>
4+
Supported on [Enterprise](/pricing/enterprise) plans.
5+
<user>
6+
Currently available via the Web app.
7+
</user>
8+
</TierCallout>
9+
310
<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>
411

512
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.

docs/code-search/code-navigation/auto_indexing.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# Auto-indexing
22

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

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

712
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.
813

docs/code-search/code-navigation/precise_code_navigation.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Precise Code Navigation
22

3+
<TierCallout>
4+
Supported on [Enterprise](/pricing/enterprise) plans.
5+
<user>
6+
Available via the Web app.
7+
</user>
8+
</TierCallout>
9+
310
<p className="subtitle">Learn and understand about Precise Code Navigation.</p>
411

512
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:

docs/code-search/code-navigation/search_based_code_navigation.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Search-based Code Navigation
22

3+
<TierCallout>
4+
Supported on [Enterprise Starter](/pricing/enterprise-starter) and [Enterprise](/pricing/enterprise) plans.
5+
<user>
6+
Available via VS Code and JetBrains editor extensions and the Web.
7+
</user>
8+
</TierCallout>
9+
310
<p className="subtitle">Learn and understand about Search-based Code Navigation.</p>
411

512
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.

docs/code-search/index.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Code Search
22

3+
<TierCallout>
4+
Supported on [Enterprise Starter](/pricing/enterprise-starter) and [Enterprise](/pricing/enterprise) plans.
5+
<user>
6+
Available via VS Code and JetBrains editor extensions and the Web.
7+
</user>
8+
</TierCallout>
9+
310
<p className="subtitle">Learn how to search code across all your repositories and code hosts.</p>
411

512
**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.

docs/code-search/types/search-jobs.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Search Jobs
22

3+
<TierCallout>
4+
Supported on [Enterprise](/pricing/enterprise) plans.
5+
<user>
6+
Currently available via the Web app.
7+
</user>
8+
</TierCallout>
9+
310
Use Search Jobs to search code at scale for large-scale organizations.
411

512
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.

docs/code-search/types/symbol.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Symbol search
22

3+
<TierCallout>
4+
Supported on [Enterprise Starter](/pricing/enterprise-starter) and [Enterprise](/pricing/enterprise) plans.
5+
<user>
6+
Available via VS Code and JetBrains editor extensions and the Web.
7+
</user>
8+
</TierCallout>
9+
310
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.
411

512
![symbol-search](https://storage.googleapis.com/sourcegraph-assets/Docs/Symbols.png)

docs/code_insights/index.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Code Insights
22

3+
<TierCallout>
4+
Supported on [Enterprise](/pricing/enterprise) plans.
5+
<user>
6+
Currently available via the Web app.
7+
</user>
8+
</TierCallout>
9+
310
<p className="subtitle">Anything you can search, you can track and analyze</p>
411

512
<img src="https://sourcegraphstatic.com/docs/images/code_insights/insights_index_dark.png" />

docs/code_monitoring/index.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Code monitoring
22

3+
<TierCallout>
4+
Supported on [Enterprise](/pricing/enterprise) plans.
5+
<user>
6+
Currently available via the Web app.
7+
</user>
8+
</TierCallout>
9+
310
<p className="subtitle">Keep on top of events in your codebase</p>
411

512
Watch your code with code monitors and trigger actions to run automatically in response to events.

0 commit comments

Comments
 (0)