Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update new logo icons in callouts #913

Merged
merged 10 commits into from
Jan 28, 2025
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
2 changes: 1 addition & 1 deletion docs/code-search/features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<p className="subtitle">Learn and understand more about Sourcegraph's Code Search features and core functionality.</p>

<LinkCards>
<LinkCard href="https://about.sourcegraph.com/get-started?t=enterprise" imgSrc="https://sourcegraph.com/.assets/img/sourcegraph-mark.svg" imgAlt="Sourcegraph" title="Get single-tenant instance managed by Sourcegraph." description="Sign up and get a 30 day free trial for your team." />
<LinkCard href="https://about.sourcegraph.com/get-started?t=enterprise" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/sg-new-logo.svg" imgAlt="Sourcegraph" title="Get single-tenant instance managed by Sourcegraph." description="Sign up and get a 30 day free trial for your team." />
</LinkCards>

## Powerful, flexible queries
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 @@ -18,7 +18,7 @@ Sourcegraph's Code Search empowers you to:

<LinkCards>

<LinkCard href="https://sourcegraph.com/contact/request-info?form_submission_source=pricing-enterprise" imgSrc="https://sourcegraph.com/.assets/img/sourcegraph-mark.svg" imgAlt="Sourcegraph" title="Get single-tenant instance managed by Sourcegraph." description="Sign up and get a 30 day free trial for your team." />
<LinkCard href="https://sourcegraph.com/contact/request-info?form_submission_source=pricing-enterprise" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/sg-new-logo.svg" imgAlt="Sourcegraph" title="Get single-tenant instance managed by Sourcegraph." description="Sign up and get a 30 day free trial for your team." />

</LinkCards>

Expand Down
2 changes: 1 addition & 1 deletion docs/cody/clients/cody-with-sourcegraph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
In addition to the Cody extensions for [VS Code](/cody/clients/install-vscode), [JetBrains](/cody/clients/install-jetbrains), [Visual Studio](/cody/clients/install-visual-studio ), and [Eclispe](/cody/clients/install-eclipse) IDEs, Cody is also available in the Sourcegraph web app. Community users can use Cody for free by logging into their accounts on Sourcegraph.com, and enterprise users can use Cody within their Sourcegraph instance.

<LinkCards>
<LinkCard href="https://sourcegraph.com/cody/chat" imgSrc="https://sourcegraph.com/.assets/img/sourcegraph-mark.svg" imgAlt="Cody for Web" title="Cody for Web" description="Use Cody in the Sourcegraph Web App." />
<LinkCard href="https://sourcegraph.com/cody/chat" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/sg-new-logo.svg" imgAlt="Cody for Web" title="Cody for Web" description="Use Cody in the Sourcegraph Web App." />
</LinkCards>

## Initial setup
Expand Down
2 changes: 1 addition & 1 deletion docs/cody/clients/enable-cody-enterprise.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<p className="subtitle">Cody enhances your coding experience by providing intelligent code suggestions, context-aware completions, and advanced code analysis. These docs will help you use Cody on your Sourcegraph Enterprise instance.</p>

<LinkCards>
<LinkCard href="https://sourcegraph.com/contact/request-info" imgSrc="https://sourcegraph.com/.assets/img/sourcegraph-mark.svg" imgAlt="Cody Enterprise" title="Cody Enterprise" description="Get in touch with our team to try Cody for Sourcegraph Enterprise." />
<LinkCard href="https://sourcegraph.com/contact/request-info" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/sg-new-logo.svg" imgAlt="Cody Enterprise" title="Cody Enterprise" description="Get in touch with our team to try Cody for Sourcegraph Enterprise." />
</LinkCards>

## Setting up Cody Enterprise
Expand Down
4 changes: 2 additions & 2 deletions docs/cody/clients/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ProductCard href="/cody/clients/install-jetbrains" imgSrc="https://storage.googleapis.com/sourcegraph-assets/docs/images/cody/jb_beam.svg" imgAlt="JetBrains" title="Cody for JetBrains" description="Install Cody's free extension for JetBrains." />
<ProductCard href="/cody/clients/install-visual-studio" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/visual-studio-Product-Icon.svg" imgAlt="Visual Studio" title="Cody for Visual Studio (Experimental)" description="Install Cody's free extension for Visual Studio." />
<ProductCard href="/cody/clients/install-eclipse" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/eclipse.svg" imgAlt="Eclipse" title="Cody for Eclipse (Experimental)" description="Install Cody's free extension for Eclipse." />
<ProductCard href="/cody/clients/cody-with-sourcegraph" imgSrc="https://storage.googleapis.com/sourcegraph-assets/docs/images/cody/cody-logomark-default.svg" imgAlt="Cody Web" title="Cody for Web" description="Use Cody in the Sourcegraph web app." />
<ProductCard href="/cody/clients/cody-with-sourcegraph" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/new-chat-icon.svg" imgAlt="Cody Web" title="Cody for Web" description="Use Cody in the Sourcegraph web app." />
<ProductCard href="/cody/clients/install-cli" imgSrc="https://storage.googleapis.com/sourcegraph-assets/docs/images/cody/command-line-blue.svg" imgAlt="Cody CLI" title="Cody CLI" description="Run Cody from the command line." />
<ProductCard href="/cody/clients/enable-cody-enterprise" imgSrc="https://sourcegraph.com/.assets/img/sourcegraph-mark.svg" imgAlt="Cody Enterprise" title="Cody Enterprise" description="Get in touch with our team to try Cody for Sourcegraph Enterprise." />
<ProductCard href="/cody/clients/enable-cody-enterprise" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/sg-new-logo.svg" imgAlt="Cody Enterprise" title="Cody Enterprise" description="Get in touch with our team to try Cody for Sourcegraph Enterprise." />
</ProductCards>
4 changes: 2 additions & 2 deletions docs/cody/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ You can start using Cody with one of the following options:
<ProductCard href="/cody/clients/install-jetbrains" imgSrc="https://storage.googleapis.com/sourcegraph-assets/docs/images/cody/jb_beam.svg" imgAlt="JetBrains" title="Cody for JetBrains" description="Install Cody's free extension for JetBrains." />
<ProductCard href="/cody/clients/install-visual-studio" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/visual-studio-Product-Icon.svg" imgAlt="Visual Studio" title="Cody for Visual Studio (Experimental)" description="Install Cody's free extension for Visual Studio." />
<ProductCard href="/cody/clients/install-eclipse" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/eclipse.svg" imgAlt="Eclipse" title="Cody for Eclipse (Experimental)" description="Install Cody's free extension for Eclipse." />
<ProductCard href="/cody/clients/cody-with-sourcegraph" imgSrc="https://storage.googleapis.com/sourcegraph-assets/docs/images/cody/cody-logomark-default.svg" imgAlt="Cody Web" title="Cody for Web" description="Use Cody in the Sourcegraph web app." />
<ProductCard href="/cody/clients/cody-with-sourcegraph" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/new-chat-icon.svg" imgAlt="Cody Web" title="Cody for Web" description="Use Cody in the Sourcegraph web app." />
<ProductCard href="/cody/clients/install-cli" imgSrc="https://storage.googleapis.com/sourcegraph-assets/docs/images/cody/command-line-blue.svg" imgAlt="Cody CLI" title="Cody CLI" description="Run Cody from the command line." />
<ProductCard href="/cody/clients/enable-cody-enterprise" imgSrc="https://sourcegraph.com/.assets/img/sourcegraph-mark.svg" imgAlt="Cody Enterprise" title="Cody Enterprise" description="Get in touch with our team to try Cody for Sourcegraph Enterprise." />
<ProductCard href="/cody/clients/enable-cody-enterprise" imgSrc="https://storage.googleapis.com/sourcegraph-assets/Docs/sg-new-logo.svg" imgAlt="Cody Enterprise" title="Cody Enterprise" description="Get in touch with our team to try Cody for Sourcegraph Enterprise." />
</ProductCards>

## Main features
Expand Down
6 changes: 3 additions & 3 deletions src/components/mdx/Tabs.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use client';

import React, {ReactNode, useMemo} from 'react';
import {Tab as HeadlessTab} from '@headlessui/react';
import clsx from 'clsx';
import React, {ReactNode, useMemo} from 'react';

interface TabData {
title: string;
Expand Down Expand Up @@ -31,10 +31,10 @@ export function Tabs({children}: TabsProps) {

return (
<>
<div className="w-full rounded-lg border border-light-border-2 dark:border-dark-border ">
<div className="w-full rounded-lg">
<HeadlessTab.Group>
<HeadlessTab.List
className="flex flex-wrap space-x-6 rounded-t-md border-b border-light-border-2 bg-light-bg-2/70 px-4 text-center text-sm font-medium dark:border-dark-border dark:bg-dark-bg-2"
className="flex flex-wrap space-x-6 rounded-md border-light-border-2 bg-light-bg-2/70 px-4 text-center text-sm font-medium dark:border-dark-border dark:bg-dark-bg-2"
id="defaultTab"
data-tabs-toggle="#defaultTabContent"
>
Expand Down