From 16942fe35fc0fec9110f842f4a117c3ec2a42b99 Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Fri, 24 Jan 2025 22:54:11 +0500 Subject: [PATCH 1/7] Update new logo icons in callouts --- docs/cody/clients/enable-cody-enterprise.mdx | 2 +- docs/cody/clients/index.mdx | 2 +- docs/cody/index.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/cody/clients/enable-cody-enterprise.mdx b/docs/cody/clients/enable-cody-enterprise.mdx index 245bdfb62..73933eb45 100644 --- a/docs/cody/clients/enable-cody-enterprise.mdx +++ b/docs/cody/clients/enable-cody-enterprise.mdx @@ -3,7 +3,7 @@

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.

- + ## Setting up Cody Enterprise diff --git a/docs/cody/clients/index.mdx b/docs/cody/clients/index.mdx index a4d87a5ef..98a2cb590 100644 --- a/docs/cody/clients/index.mdx +++ b/docs/cody/clients/index.mdx @@ -9,5 +9,5 @@ - + diff --git a/docs/cody/index.mdx b/docs/cody/index.mdx index 7aa1a1840..67a2c25a7 100644 --- a/docs/cody/index.mdx +++ b/docs/cody/index.mdx @@ -23,7 +23,7 @@ You can start using Cody with one of the following options: - + ## Main features From aba90b500d254962b9a668dbf49a3e9872a70b6b Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Mon, 27 Jan 2025 21:37:23 +0500 Subject: [PATCH 2/7] add more icons --- docs/cody/clients/cody-with-sourcegraph.mdx | 2 +- docs/cody/clients/index.mdx | 2 +- docs/cody/index.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/cody/clients/cody-with-sourcegraph.mdx b/docs/cody/clients/cody-with-sourcegraph.mdx index a769fd14b..64d6562f0 100644 --- a/docs/cody/clients/cody-with-sourcegraph.mdx +++ b/docs/cody/clients/cody-with-sourcegraph.mdx @@ -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. - + ## Initial setup diff --git a/docs/cody/clients/index.mdx b/docs/cody/clients/index.mdx index 98a2cb590..9d2b3cc2e 100644 --- a/docs/cody/clients/index.mdx +++ b/docs/cody/clients/index.mdx @@ -7,7 +7,7 @@ - + diff --git a/docs/cody/index.mdx b/docs/cody/index.mdx index 67a2c25a7..a622d2b7d 100644 --- a/docs/cody/index.mdx +++ b/docs/cody/index.mdx @@ -21,7 +21,7 @@ You can start using Cody with one of the following options: - + From a6e408650f4faa771bca1a40100a0422d0ca89b0 Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Mon, 27 Jan 2025 11:37:11 -0800 Subject: [PATCH 3/7] Add more --- docs/code-search/features.mdx | 2 +- docs/code-search/index.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/code-search/features.mdx b/docs/code-search/features.mdx index 69a311dc0..843e6e7c8 100644 --- a/docs/code-search/features.mdx +++ b/docs/code-search/features.mdx @@ -3,7 +3,7 @@

Learn and understand more about Sourcegraph's Code Search features and core functionality.

- + ## Powerful, flexible queries diff --git a/docs/code-search/index.mdx b/docs/code-search/index.mdx index 2b7de35c2..845010c87 100644 --- a/docs/code-search/index.mdx +++ b/docs/code-search/index.mdx @@ -18,7 +18,7 @@ Sourcegraph's Code Search empowers you to: - + From 8f045ad989fc8a1a2f8dd68036729013f8ec106d Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Tue, 28 Jan 2025 00:37:47 +0500 Subject: [PATCH 4/7] Remove border from the Tabs component (#926) This PR removes the outline border from the Tabs component. --- src/components/mdx/Tabs.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/mdx/Tabs.tsx b/src/components/mdx/Tabs.tsx index 5e990363c..e2c6c62e6 100644 --- a/src/components/mdx/Tabs.tsx +++ b/src/components/mdx/Tabs.tsx @@ -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; @@ -31,10 +31,10 @@ export function Tabs({children}: TabsProps) { return ( <> -
+
From f2a81649228cfac0074e7615feb30db65ecfdd66 Mon Sep 17 00:00:00 2001 From: Jacob Pleiness Date: Mon, 27 Jan 2025 17:38:46 -0500 Subject: [PATCH 5/7] chore(docs): Add AWS account IDs for AMI publishing (#927) Add Sourcegraph AWS account IDs to docs for easier customer verification when pulling AMI images. --- docs/admin/deploy/machine-images/aws-ami.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/admin/deploy/machine-images/aws-ami.mdx b/docs/admin/deploy/machine-images/aws-ami.mdx index c59b62b69..099603849 100644 --- a/docs/admin/deploy/machine-images/aws-ami.mdx +++ b/docs/admin/deploy/machine-images/aws-ami.mdx @@ -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. From 7c63506032663842bcc6986fc6f3727cbe19f04f Mon Sep 17 00:00:00 2001 From: Jacob Pleiness Date: Mon, 27 Jan 2025 17:39:48 -0500 Subject: [PATCH 6/7] chore(docs): Note dynamic AWS sizing (#928) Change AMI docs to reference AWS AMI dynamic sizing that is no longer strictly tied to T-Shirt sizes and pre-defined EC2 instance sizes --- docs/admin/deploy/machine-images/aws-ami.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/admin/deploy/machine-images/aws-ami.mdx b/docs/admin/deploy/machine-images/aws-ami.mdx index 099603849..f1c3ae3de 100644 --- a/docs/admin/deploy/machine-images/aws-ami.mdx +++ b/docs/admin/deploy/machine-images/aws-ami.mdx @@ -34,7 +34,7 @@ Click [here](https://github.com/sourcegraph/deploy#amazon-ec2-amis) to see the c **The default AMI username is `ec2-user`.** -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. +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. --- @@ -43,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". From b0ba550409c0500daf9758e13678b8e3da152753 Mon Sep 17 00:00:00 2001 From: Marc <7050295+marcleblanc2@users.noreply.github.com> Date: Mon, 27 Jan 2025 17:12:08 -0700 Subject: [PATCH 7/7] Correcting webhook logging example (#929) ## Pull Request approval You will need to get your PR approved by at least one member of the Sourcegraph team. For reviews of docs formatting, styles, and component usage, please tag the docs team via the #docs Slack channel. --- docs/admin/config/webhooks/incoming.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/config/webhooks/incoming.mdx b/docs/admin/config/webhooks/incoming.mdx index 09b4dbd7f..0158f7b7c 100644 --- a/docs/admin/config/webhooks/incoming.mdx +++ b/docs/admin/config/webhooks/incoming.mdx @@ -291,7 +291,7 @@ To retain webhook logs for one day: ```json { "webhook.logging": { - "enabled": false, + "enabled": true, "retention": "24h" } }