diff --git a/docs/how-to-videos/code-search/index.mdx b/docs/how-to-videos/code-search/index.mdx deleted file mode 100644 index 88f9d730c..000000000 --- a/docs/how-to-videos/code-search/index.mdx +++ /dev/null @@ -1,40 +0,0 @@ -# Code Search - -Full [search query syntax](/code-search/queries). - -### Introduction - -| Topic | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| [Intro to Sourcegraph Search Types](https://www.loom.com/share/e5e97ea303ab408e99478f34052cfe1b?sid=49bd4515-d4d0-466b-be10-f40df13ce081) | Navigating the Code Search web app and the Keyword, Literal, Regex, and Structural search. | -| [Search Results Page Overview](https://www.loom.com/share/c713baea045c40bdba9bc2f524ae4387?sid=8f6e3242-032c-40ec-9fa8-2006ad3c30f9) | Navigating the search results page. | -| [Intro to Search Filters](https://www.loom.com/share/f48295092e7f4a9b874bfd8f81595a87?sid=dd05c740-be70-4374-b890-219a48c8d9f2) | An overview of the most commonly-used search filters such as Language, Repo, and File. | -| [Search Types](https://www.loom.com/share/2484f5b47fec47c68369399a26a18150?sid=52b5df3f-35d4-4ea0-b009-cd64946d1d38) | Searching against Code, Repo, Path, Symbol, Commit, and Diff data. | -| [Code Navigation](https://www.loom.com/share/a354ee1d87524239a8322d4c9c3131e9?sid=ce08dd70-4489-4cdc-b067-d470a505ce41) | Finding defintions and references, and an explanation of precise versus search-based [code navigation](/code-search/code-navigation). | -| [Saving Searches](https://www.loom.com/share/5728c5fc9ac14a11aa9ca875c6eaa406?sid=eb6112d7-5f3e-45fb-ae89-a990355f0ab8) | [Saving](/code-search/working/saved_searches) commonly-used searches. | -| [Search Contexts](https://www.loom.com/share/0b2ebb0a96154a87bad3c3c451f2ffcd?sid=dd211b02-6d7b-4c52-86fd-bebccc4a63d9) | Intro to [Search Contexts](/code-search/working/search_contexts.mdx) and how to manage them. | - -### Advanced Searches - -| Topic | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| [Non-default branches, revisions, and tags](https://www.loom.com/share/2a812f39bc5548b19ff2e05e819485ec?sid=7bccac65-4354-4177-8dca-d22bff2480ff) | Intro to [Revision search](/code-search/queries/language#revision) and how to search for specific branches, revisions, and tags. | -| [Commit messages](https://www.loom.com/share/2221265f062b4092bca6a69270fac84e?sid=b0d17c04-f01d-43dd-a690-a740b1bde4b0) | Searching `type:commit` messages. | -| [Diffs](https://www.loom.com/share/daf8a5dcb5ea4ee0b41cddad7331f433?sid=a86b047f-f516-4c85-be1f-1dab5fd6d76d) | Searching `type:diff` . | -| [Added or removed code](https://www.loom.com/share/ccb7ce60010749989978dd717faded8a?sid=7e610fe0-4914-4476-8596-2ef330701b10) | Combining `type:diff` with `select:commit.diff.(added OR removed)` . | -| [By author](https://www.loom.com/share/5dfaa523713b4fa49526533abb0a9391?sid=6ca791e0-157b-486e-acb6-4584592c29c4) | Using the `author: ` filter. | -| [Time-boxing searches](https://www.loom.com/share/104a5abfb3b74663b4b2f140d24bab3f?sid=5479b164-d6cb-4268-a959-00dbf01d8178) | Using the `before:` and `after:` filters. | -| [Boolean operators](https://www.loom.com/share/0e762571a0334ceabf41c6bb4732642b?sid=34ecfad8-7a83-4c21-914b-3a90a0c3b9e2) | Using `AND`, `OR`, and `NOT` operators. | -| [Functions and other symbols](https://www.loom.com/share/88755bf5490947a080e88a5fea040323?sid=9f815a7f-881f-4f0c-a55b-6e4b95699a0a) | Using `type:symbol` filter. | -| [Advanced symbol search](https://www.loom.com/share/b8a1456c460442d3b42db1f2c783dd63?sid=a191fc76-34bf-4f71-89ee-6905235c8f47) | Combining the `select:symbol.(symbol_type)` and `type:symbol` filters. | -| [Selecting metadata](https://www.loom.com/share/acb42f0611c14bb19dd24b28ac84ec2e?sid=2cf9ce6f-2862-4176-80b4-f66eb0e30277) | Using `select:` filter to return data other than the type of data searched against, e.g. returning all repos than contain a certain function. | -| [Advanced repo search](https://www.loom.com/share/99e3f27c060b41d793e470a95c6f67bf?sid=8662effe-6e74-47c1-86aa-bef9e505a9a1) | Using [`repo:has.(...)`](/code-search/queries/language#built-in-repo-predicate) filters. | -| [Excluding stale repos](https://www.loom.com/share/7c602971543546538c475a698e23871e?sid=ccd38787-eb5e-4e96-a7ac-255d699b8ed3) | Using `repo:has.commit.after(...)` filter. | - -### Batch Changes and Code Insights - -| Topic | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| [Batch Changes](https://www.loom.com/share/475d300b96c4404ba62edc8063499a05?sid=79e1fdb4-65ca-46d9-bfe9-d80257db831c) | Intro to managing [Batch Changes](/batch-changes) and the [batch spec](/batch-changes/batch-spec-yaml-reference) file. | -| [Code Insights](https://www.loom.com/share/7066ac1ef33a41638793ac8f468b8ab8?sid=35b001df-84f8-4221-90c4-2ba46e03b9fc) | Intro to [Code Insights](/code_insights). | -| [Code Monitoring](https://www.loom.com/share/99b8302e832a4341bc98916219fe8418?sid=261fc431-67e7-4df2-9cfa-306bcf003911) | Intro to [Code Monitoring](/code_monitoring). | diff --git a/docs/how-to-videos/cody/index.mdx b/docs/how-to-videos/cody/index.mdx deleted file mode 100644 index 87d40187f..000000000 --- a/docs/how-to-videos/cody/index.mdx +++ /dev/null @@ -1,20 +0,0 @@ -# Cody - -### Getting started with Cody - -| Topic | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------- | -| [Cody Web - Overview](https://www.loom.com/share/0989de19eafc44be9208f2ece9b2d901?sid=fa5965de-b844-406d-801a-bcf86f24913c?sid=bf56d3a2-e640-40ba-8cf0-d684ef9317f4) | Intro to the Cody web feature. | -| [Cody IDE - Overview](https://www.loom.com/share/44976666510f477da4d140273bd7615a?sid=bf56d3a2-e640-40ba-8cf0-d684ef9317f4) | Intro to the Cody extension in an IDE. | -| [Cody IDE - Chat](https://www.loom.com/share/a8c9403e10144f65a7413509c5f03f9c) | Intro to Cody chat in an IDE. | -| [Cody IDE - Autocomplete](https://www.loom.com/share/d1270097c6c148148bdbaf9a2f7bfe7e) | Intro to Cody autocomplete in an IDE. | -| [Cody IDE - Commands](https://www.loom.com/share/528b7b0ac36f4fbf8adb1cdba84f40da?sid=2d4e0354-5746-4beb-8848-bda547aa0110) | Intro to Cody commands in an IDE. | - -### Identifying Code AI Use Cases - -| Topic | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| [LLM Fundamentals](https://www.loom.com/share/379a3c6f9a2140cd8c5c8569ee7908e1?sid=c144e439-45a3-49fc-8034-8935fb23758e) | LLM basics and how they impact coding assistants. | -| [Cody Context Retrieval](https://www.loom.com/share/4bf1c37ccd8f425286618eaecce5d2ba?sid=629b5a84-2e48-4036-b89b-128a8155bdb3) | Demystifying Cody context retrieval. | -| [Task Categorization](https://www.loom.com/share/ab876ae8bed14ab889640e8f938d5ac7?sid=88c864e2-7fbb-4bc8-b213-5805eda9a1e5) | Introducing a task categorization framework to help you use coding assistants effectively. | -| [Cody Use Cases in the Developer Workflow](https://www.loom.com/share/d99d64ade19a447eaf512fa158d19092?sid=929c3811-4472-41c8-9568-20d10fb0efa5) | Thinking about how to use Cody in the typical developer workflow. | diff --git a/docs/how-to-videos/index.mdx b/docs/how-to-videos/index.mdx deleted file mode 100644 index 67cb737d4..000000000 --- a/docs/how-to-videos/index.mdx +++ /dev/null @@ -1,15 +0,0 @@ -# How to videos - -

- Short, consumable videos to help you get started with Sourcegraph. -

-## [Code Search]() - - - - - diff --git a/docs/tutorials/index.mdx b/docs/tutorials/index.mdx index 2adeed0ad..71e2107ae 100644 --- a/docs/tutorials/index.mdx +++ b/docs/tutorials/index.mdx @@ -12,53 +12,95 @@ | [High Level Product Demo](https://www.youtube.com/watch?v=Kk1ea2-l8Hk) | Explanation (video) | A short 3-minute video describing what Sourcegraph is and how it can be useful. | | [Navigating the Sourcegraph UI](https://www.youtube.com/watch?v=6K7e74a7aC4) | Tutorial (video) | Take a look at how you can read code, find references, troubleshoot errors, gain insight, and make changes on a massive scale in Sourcegraph. | -## Get Started Searching - -| Topic | Content Type | Description | -| -------------------------------------------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [Three Types of Code Search](https://www.youtube.com/watch?v=-EGn_-2d9CQ) | Tutorial (video) | Code search is a vital tool for developers. It's great for digging up answers to questions from your own codebase, but it's even better for exploring and understanding code. This video will show you the types of code search we have on Sourcegraph. | -| [Understanding Code Search Results](https://www.youtube.com/watch?v=oMWdYfG6-DQ) | Tutorial (video) | In this video, you'll understand the search results page and how to scope, export, save, and link to search results. | -| [Basic Code Search Filters](https://www.youtube.com/watch?v=h1Kw0Wd9qZ4) | Tutorial (video) | In this video, you'll learn how to use Sourcegraph's code search filters and how they work. Filters are a great way to narrow down or search for specific code. This video covers language, repo, branch, file, and negative filters. | -| [Search Query Syntax](/code-search/queries) | Reference | This page describes search pattern syntax and filters available for code search | - -## More Advanced Searching - -| Topic | Content Type | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [Regular Expression Search Deep Dive](https://about.sourcegraph.com/blog/how-to-search-with-sourcegraph-using-regular-expression-patterns) | Tutorial | Regular expressions, often shortened as regex, help you find code that matches a pattern (including classes of characters like letters, numbers and whitespace), and can restrict the results to anchors like the start of a line, the end of a line, or word boundary. | -| [Structural Search Tutorial ](https://about.sourcegraph.com/blog/how-to-search-with-sourcegraph-using-structural-patterns) | Tutorial | Structural search helps you search code for syntactical code patterns like function calls, arguments, `if...else` statements, and `try...catch` statements. It's useful for finding nested and recursive patterns as well as multi-line blocks of code. | -| [Structural Search Tutorial ](https://youtu.be/GnubTdnilbc) | Tutorial (video) | Structural search helps you search code for syntactical code patterns like function calls, arguments, `if...else` statements, and `try...catch` statements. It's useful for finding nested and recursive patterns as well as multi-line blocks of code. | - ## Cody -| Topic | Content Type | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [Product Tour is VSCode](https://www.youtube.com/watch?v=OTIYXUwAQtI&t=6s) | Tutorial (video) | A video tutorial walkthrough of Cody in VSCode. | -|[Cody Admin Training](https://www.youtube.com/watch?v=_Xwr7YlfTt0) | Tutorial (video) | A video tutorial explaining Cody administrative functionality.| - -## Code Navigation - -| Topic | Content Type | Description | -| ----------------------------------------------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------- | -| [Introduction to Code Navigation](/code-search/code-navigation/) | Explanation | There are 2 types of code navigation that Sourcegraph supports: search-based and precise. | -| [Code Navigation Features](/code-search/code-navigation/features) | Explanation | An overview of Code Navigation features, such as "find references", "go to definition", and "find implementations". | +| Topic | Content Type | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------ | +| [Product Tour in VSCode](https://www.youtube.com/watch?v=OTIYXUwAQtI&t=6s) | Tutorial (video) | A video tutorial walkthrough of Cody in VSCode. | +| [Cody Admin Training](https://www.youtube.com/watch?v=_Xwr7YlfTt0) | Tutorial (video) | A video tutorial explaining Cody administrative functionality. | +| [Cody Web - Overview](https://www.loom.com/share/0989de19eafc44be9208f2ece9b2d901?sid=fa5965de-b844-406d-801a-bcf86f24913c?sid=bf56d3a2-e640-40ba-8cf0-d684ef9317f4) | Tutorial (video) | Intro to the Cody web feature. | +| [Cody IDE - Overview](https://www.loom.com/share/44976666510f477da4d140273bd7615a?sid=bf56d3a2-e640-40ba-8cf0-d684ef9317f4) | Tutorial (video) | Intro to the Cody extension in an IDE. | +| [Cody IDE - Chat](https://www.loom.com/share/a8c9403e10144f65a7413509c5f03f9c) | Tutorial (video) | Intro to Cody chat in an IDE. | +| [Cody IDE - Autocomplete](https://www.loom.com/share/d1270097c6c148148bdbaf9a2f7bfe7e) | Tutorial (video) | Intro to Cody autocomplete in an IDE. | +| [Cody IDE - Commands](https://www.loom.com/share/528b7b0ac36f4fbf8adb1cdba84f40da?sid=2d4e0354-5746-4beb-8848-bda547aa0110) | Tutorial (video) | Intro to Cody commands in an IDE. | +| [LLM Fundamentals](https://www.loom.com/share/379a3c6f9a2140cd8c5c8569ee7908e1?sid=c144e439-45a3-49fc-8034-8935fb23758e) | Tutorial (video) | LLM basics and how they impact coding assistants. | +| [Cody Context Retrieval](https://www.loom.com/share/4bf1c37ccd8f425286618eaecce5d2ba?sid=629b5a84-2e48-4036-b89b-128a8155bdb3) | Tutorial (video) | Demystifying Cody context retrieval. | +| [Task Categorization](https://www.loom.com/share/ab876ae8bed14ab889640e8f938d5ac7?sid=88c864e2-7fbb-4bc8-b213-5805eda9a1e5) | Tutorial (video) | Introducing a task categorization framework to help you use coding assistants effectively. | +| [Cody Use Cases in the Developer Workflow](https://www.loom.com/share/d99d64ade19a447eaf512fa158d19092?sid=929c3811-4472-41c8-9568-20d10fb0efa5) | Tutorial (video) | Thinking about how to use Cody in the typical developer workflow. | +| [Generate Unit Tests](https://www.youtube.com/watch?v=FsiQMory2jI) | Tutorial (video) | A video tutorial of how to write unit tests with Cody. | +| [Writing Faster Code with Code Search and Cody](https://www.youtube.com/watch?v=vHyTgqGL41U) | Tutorial (video) | A video tutorial of how Sourcegraph can help you write code faster. | + +## Code Search + +Full [search query syntax](/code-search/queries). + +### Getting Started + +| Topic | Content Type | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [Three Types of Code Search](https://www.youtube.com/watch?v=-EGn_-2d9CQ) | Tutorial (video) | Code search is a vital tool for developers. It's great for digging up answers to questions from your own codebase, but it's even better for exploring and understanding code. This video will show you the types of code search we have on Sourcegraph. | +| [Understanding Code Search Results](https://www.youtube.com/watch?v=oMWdYfG6-DQ) | Tutorial (video) | In this video, you'll understand the search results page and how to scope, export, save, and link to search results. | +| [Basic Code Search Filters](https://www.youtube.com/watch?v=h1Kw0Wd9qZ4) | Tutorial (video) | In this video, you'll learn how to use Sourcegraph's code search filters and how they work. Filters are a great way to narrow down or search for specific code. This video covers language, repo, branch, file, and negative filters. | +| [Intro to Sourcegraph Search Types](https://www.loom.com/share/e5e97ea303ab408e99478f34052cfe1b?sid=49bd4515-d4d0-466b-be10-f40df13ce081) | Tutorial (video) | Navigating the Code Search web app and the Keyword, Literal, Regex, and Structural search. | +| [Search Results Page Overview](https://www.loom.com/share/c713baea045c40bdba9bc2f524ae4387?sid=8f6e3242-032c-40ec-9fa8-2006ad3c30f9) | Tutorial (video) | Navigating the search results page. | +| [Intro to Search Filters](https://www.loom.com/share/f48295092e7f4a9b874bfd8f81595a87?sid=dd05c740-be70-4374-b890-219a48c8d9f2) | Tutorial (video) | An overview of the most commonly-used search filters such as Language, Repo, and File. | +| [Search Types](https://www.loom.com/share/2484f5b47fec47c68369399a26a18150?sid=52b5df3f-35d4-4ea0-b009-cd64946d1d38) | Tutorial (video) | Searching against Code, Repo, Path, Symbol, Commit, and Diff data. | +| [Saving Searches](https://www.loom.com/share/5728c5fc9ac14a11aa9ca875c6eaa406?sid=eb6112d7-5f3e-45fb-ae89-a990355f0ab8) | Tutorial (video) | [Saving](/code-search/working/saved_searches) commonly-used searches. | +| [Search Contexts](https://www.loom.com/share/0b2ebb0a96154a87bad3c3c451f2ffcd?sid=dd211b02-6d7b-4c52-86fd-bebccc4a63d9) | Tutorial (video) | Intro to [Search Contexts](/code-search/working/search_contexts.mdx) and how to manage them. | + +### Advanced Searching + +| Topic | Content Type | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [Regular Expression Search Deep Dive](https://about.sourcegraph.com/blog/how-to-search-with-sourcegraph-using-regular-expression-patterns) | Tutorial | Regular expressions, often shortened as regex, help you find code that matches a pattern (including classes of characters like letters, numbers and whitespace), and can restrict the results to anchors like the start of a line, the end of a line, or word boundary. | +| [Structural Search Tutorial](https://about.sourcegraph.com/blog/how-to-search-with-sourcegraph-using-structural-patterns) | Tutorial | Structural search helps you search code for syntactical code patterns like function calls, arguments, `if...else` statements, and `try...catch` statements. It's useful for finding nested and recursive patterns as well as multi-line blocks of code. | +| [Structural Search Tutorial](https://youtu.be/GnubTdnilbc) | Tutorial (video) | Structural search helps you search code for syntactical code patterns like function calls, arguments, `if...else` statements, and `try...catch` statements. It's useful for finding nested and recursive patterns as well as multi-line blocks of code. | +| [Non-default branches, revisions, and tags](https://www.loom.com/share/2a812f39bc5548b19ff2e05e819485ec?sid=7bccac65-4354-4177-8dca-d22bff2480ff) | Tutorial (video) | Intro to [Revision search](/code-search/queries/language#revision) and how to search for specific branches, revisions, and tags. | +| [Commit messages](https://www.loom.com/share/2221265f062b4092bca6a69270fac84e?sid=b0d17c04-f01d-43dd-a690-a740b1bde4b0) | Tutorial (video) | Searching `type:commit` messages. | +| [Diffs](https://www.loom.com/share/daf8a5dcb5ea4ee0b41cddad7331f433?sid=a86b047f-f516-4c85-be1f-1dab5fd6d76d) | Tutorial (video) | Searching `type:diff`. | +| [Added or removed code](https://www.loom.com/share/ccb7ce60010749989978dd717faded8a?sid=7e610fe0-4914-4476-8596-2ef330701b10) | Tutorial (video) | Combining `type:diff` with `select:commit.diff.(added OR removed)`. | +| [By author](https://www.loom.com/share/5dfaa523713b4fa49526533abb0a9391?sid=6ca791e0-157b-486e-acb6-4584592c29c4) | Tutorial (video) | Using the `author:` filter. | +| [Time-boxing searches](https://www.loom.com/share/104a5abfb3b74663b4b2f140d24bab3f?sid=5479b164-d6cb-4268-a959-00dbf01d8178) | Tutorial (video) | Using the `before:` and `after:` filters. | +| [Boolean operators](https://www.loom.com/share/0e762571a0334ceabf41c6bb4732642b?sid=34ecfad8-7a83-4c21-914b-3a90a0c3b9e2) | Tutorial (video) | Using `AND`, `OR`, and `NOT` operators. | +| [Functions and other symbols](https://www.loom.com/share/88755bf5490947a080e88a5fea040323?sid=9f815a7f-881f-4f0c-a55b-6e4b95699a0a) | Tutorial (video) | Using `type:symbol` filter. | +| [Advanced symbol search](https://www.loom.com/share/b8a1456c460442d3b42db1f2c783dd63?sid=a191fc76-34bf-4f71-89ee-6905235c8f47) | Tutorial (video) | Combining the `select:symbol.(symbol_type)` and `type:symbol` filters. | +| [Selecting metadata](https://www.loom.com/share/acb42f0611c14bb19dd24b28ac84ec2e?sid=2cf9ce6f-2862-4176-80b4-f66eb0e30277) | Tutorial (video) | Using `select:` filter to return data other than the type of data searched against, e.g. returning all repos than contain a certain function. | +| [Advanced repo search](https://www.loom.com/share/99e3f27c060b41d793e470a95c6f67bf?sid=8662effe-6e74-47c1-86aa-bef9e505a9a1) | Tutorial (video) | Using [`repo:has.(...)`](/code-search/queries/language#built-in-repo-predicate) filters. | +| [Excluding stale repos](https://www.loom.com/share/7c602971543546538c475a698e23871e?sid=ccd38787-eb5e-4e96-a7ac-255d699b8ed3) | Tutorial (video) | Using `repo:has.commit.after(...)` filter. | +| [Understand scope and impact of a code change](https://www.youtube.com/watch?v=gafdZDhSrws) | Tutorial (video) | A video tutorial of how to understand the scope and impact of a change you're considering to your codebase. | + +### Code Navigation + +| Topic | Content Type | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| [Introduction to Code Navigation](/code-search/code-navigation/) | Explanation | There are 2 types of code navigation that Sourcegraph supports: search-based and precise. | +| [Code Navigation Features](/code-search/code-navigation/features) | Explanation | An overview of Code Navigation features, such as "find references", "go to definition", and "find implementations". | +| [Code Navigation](https://www.loom.com/share/a354ee1d87524239a8322d4c9c3131e9?sid=ce08dd70-4489-4cdc-b067-d470a505ce41) | Tutorial (video) | Finding definitions and references, and an explanation of precise versus search-based [code navigation](/code-search/code-navigation). | ## Code Insights -| Topic | Content Type | Description | -| --------------------------------------------------------------------- | ------------------- | ------------------------------------------------------------------------------------------- | -| [Code Insights Overview](https://www.youtube.com/watch?v=HdQIFuUzGFI) | Explanation (video) | Learn about common Code Insights use cases and see how to create an insight. | -| [Quickstart Guide](/code_insights/quickstart) | Tutorial | Get started and create your first code insight in 5 minutes or less. | -| [Common Use Cases](/code_insights/references/common_use_cases) | Reference | A list of common use cases for Code Insights and example data series queries you could use. | +| Topic | Content Type | Description | +| --------------------------------------------------------------------------------------------------------------------- | ------------------- | ------------------------------------------------------------------------------------------- | +| [Code Insights Overview](https://www.youtube.com/watch?v=HdQIFuUzGFI) | Explanation (video) | Learn about common Code Insights use cases and see how to create an insight. | +| [Quickstart Guide](/code_insights/quickstart) | Tutorial | Get started and create your first code insight in 5 minutes or less. | +| [Common Use Cases](/code_insights/references/common_use_cases) | Reference | A list of common use cases for Code Insights and example data series queries you could use. | +| [Code Insights](https://www.loom.com/share/7066ac1ef33a41638793ac8f468b8ab8?sid=35b001df-84f8-4221-90c4-2ba46e03b9fc) | Tutorial (video) | Intro to [Code Insights](/code_insights). | ## Batch Changes -| Topic | Content Type | Description | -| ------------------------------------------------------------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| [Introduction to Batch Changes](/batch-changes/) | Explanation | A basic introduction to the concepts, processes, and supported environments behind Batch Changes | -| [Get Started With Batch Changes](https://www.youtube.com/watch?v=GKyHYqH6ggY) | Tutorial (video) | Learn how you can quickly use Sourcegraph Batch Changes to automate small and large-scale code changes server-side. | -| [Batch Changes Quickstart Guide](/batch-changes/quickstart) | Tutorial | Get started and create your first batch change in 10 minutes or less. This guide follows the local (CLI) method of running batch changes. | -| [Getting Started Running Batch Changes Server-Side](/batch-changes/server-side) | How-To-Guide | Follow this guide to learn how to run batch changes server-side. | +| Topic | Content Type | Description | +| --------------------------------------------------------------------------------------------------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | +| [Introduction to Batch Changes](/batch-changes/) | Explanation | A basic introduction to the concepts, processes, and supported environments behind Batch Changes. | +| [Get Started With Batch Changes](https://www.youtube.com/watch?v=GKyHYqH6ggY) | Tutorial (video) | Learn how you can quickly use Sourcegraph Batch Changes to automate small and large-scale code changes server-side. | +| [Batch Changes Quickstart Guide](/batch-changes/quickstart) | Tutorial | Get started and create your first batch change in 10 minutes or less. This guide follows the local (CLI) method of running batch changes. | +| [Getting Started Running Batch Changes Server-Side](/batch-changes/server-side) | How-To-Guide | Follow this guide to learn how to run batch changes server-side. | +| [Batch Changes](https://www.loom.com/share/475d300b96c4404ba62edc8063499a05?sid=79e1fdb4-65ca-46d9-bfe9-d80257db831c) | Tutorial (video) | Intro to managing [Batch Changes](/batch-changes) and the [batch spec](/batch-changes/batch-spec-yaml-reference) file. | + +## Code Monitoring + +| Topic | Content Type | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ---------------- | --------------------------------------------- | +| [Code Monitoring](https://www.loom.com/share/99b8302e832a4341bc98916219fe8418?sid=261fc431-67e7-4df2-9cfa-306bcf003911) | Tutorial (video) | Intro to [Code Monitoring](/code_monitoring). | ## The Sourcegraph API @@ -76,16 +118,8 @@ ## Customizing Your Sourcegraph User Environment -| Topic | Content Type | Description | -| ------------------------------------------------------------------------------------------------ | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [Using Sourcegraph with your IDE](/integration/editor) | How-To-Guide | Sourcegraph's editor integrations allow you search and navigate across all of your repositories without ever leaving your IDE or checking them out locally. We have built-in integrations with VS Code and JetBrains. | -| [Using the Sourcegraph Browser Extension](/integration/browser_extension/) | How-To-Guide | The open-source Sourcegraph browser extension adds code navigation to files and diffs on GitHub, GitHub Enterprise, GitLab, Phabricator, Bitbucket Server and Bitbucket Data Center. | -| [Using the Sourcegraph CLI](/cli/quickstart) | How-To-Guide | `src` is a command line interface to Sourcegraph that allows you to search code from your terminal, create and apply batch changes, and manage and administrate repositories, users, and more. | - -## Developer Use Cases - -| Topic | Content Type | Description | -| -------------------------------------------------------------------------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------- | -| [Writing Faster Code with Code Search and Cody](https://www.youtube.com/watch?v=vHyTgqGL41U) | Tutorial (video) | A video tutorial of how Sourcegraph can help you write code faster. | -| [Generate Unit Tests](https://www.youtube.com/watch?v=FsiQMory2jI) | Tutorial (video) | A video tutorial of how to write unit tests with Cody. | -| [Understand scope and impact of a code change](https://www.youtube.com/watch?v=gafdZDhSrws) | Tutorial (video) | A video tutorial of how to understand the scope and impact of a change you're considering to your codebase. | +| Topic | Content Type | Description | +| -------------------------------------------------------------------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [Using Sourcegraph with your IDE](/integration/editor) | How-To-Guide | Sourcegraph's editor integrations allow you search and navigate across all of your repositories without ever leaving your IDE or checking them out locally. We have built-in integrations with VS Code and JetBrains. | +| [Using the Sourcegraph Browser Extension](/integration/browser_extension/) | How-To-Guide | The open-source Sourcegraph browser extension adds code navigation to files and diffs on GitHub, GitHub Enterprise, GitLab, Phabricator, Bitbucket Server and Bitbucket Data Center. | +| [Using the Sourcegraph CLI](/cli/quickstart) | How-To-Guide | `src` is a command line interface to Sourcegraph that allows you to search code from your terminal, create and apply batch changes, and manage and administrate repositories, users, and more. | diff --git a/src/data/navigation.ts b/src/data/navigation.ts index 5daee4972..6a334de20 100644 --- a/src/data/navigation.ts +++ b/src/data/navigation.ts @@ -570,14 +570,6 @@ export const navigation: NavigationItem[] = [ title: 'SLAs & Premium Support', href: '/sla' }, - { - title: 'How to videos', - href: '/how-to-videos', - sections: [ - {title: 'Code Search', href: '/how-to-videos/code-search'}, - {title: 'Cody', href: '/how-to-videos/cody'} - ] - }, { title: 'Tutorials', href: '/tutorials' diff --git a/src/data/redirects.ts b/src/data/redirects.ts index 8c26c7445..d116ae501 100644 --- a/src/data/redirects.ts +++ b/src/data/redirects.ts @@ -5643,6 +5643,21 @@ const redirectsData = [ source: '/cody/core-concepts/enterprise-architecture', destination: '/admin/architecture#cody', permanent: true + }, + { + source: '/how-to-videos', + destination: '/tutorials', + permanent: true + }, + { + source: '/how-to-videos/code-search', + destination: '/tutorials#code-search-how-to-videos', + permanent: true + }, + { + source: '/how-to-videos/cody', + destination: '/tutorials#cody', + permanent: true } ];