Skip to content

Commit b80d1e4

Browse files
authored
Docs working branch for Sourcegraph Dec release (#851)
<!-- Explain the changes introduced in your PR --> ## 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.
1 parent ff33f77 commit b80d1e4

File tree

6 files changed

+30
-5
lines changed

6 files changed

+30
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sourcegraph Docs
22

3-
<!-- Working branch for Nov 25th 2024 Release -->
3+
<!-- Working branch for Dec 2024 Release -->
44

55
Welcome to the Sourcegraph documentation! We're excited to have you contribute to our docs. We've recently rearchitectured our docs tech stack — powered by Next.js, TailwindCSS and deployed on Vercel. This guide will walk you through the process of contributing to our documentation using the new tech stack.
66

docs.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const config = {
2-
DOCS_LATEST_VERSION: '5.10'
2+
DOCS_LATEST_VERSION: '5.11'
33
};
44

55
module.exports = config;

docs/cody/capabilities/commands.mdx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,29 @@ Once the prompt is visible, it's ready to be used by:
6767

6868
To edit a prompt, click the Edit button next to the prompt in the Prompt Library and make the necessary changes. You can also use this interface to **Transfer Ownership** of the prompt or delete it from this view.
6969

70+
## Prompt tags
71+
72+
<Callout type="info">Prompt tags are supported in Sourcegraph Enterprise, and only site admins can create them.</Callout>
73+
74+
Site admins can categorize prompts and create **tags**. This helps you keep your prompts organized, especially when there are many prompts to use and manage.
75+
76+
- Go to **Tools > Prompt Library** from your Enterprise Sourcegraph instance
77+
- From the left sidebar click **Manage** next to the **tags** list
78+
- All the new and existing tags are listed here. You can also search for a specific tag by typing its name in the search box
79+
- Click **New tag**, type the **Tag name** and hit the **Create** button
80+
81+
![prompt-tags](https://storage.googleapis.com/sourcegraph-assets/Docs/prompts-tags.png)
82+
83+
Once created, it will appear in the **Tags** list and in the sidebar of the Prompt Library. To manage your prompt tags, you can **edit**, **delete**, or **copy link to prompts with this tag**.
84+
85+
### Assigning tags to prompts
86+
87+
Once site admins create tags, other users in your organization can assign tags to their prompts. While creating or editing a prompt, there is a drop-down selector **Add prompt to...** to assign tags to the prompt.
88+
89+
![assign-prompt-tags](https://storage.googleapis.com/sourcegraph-assets/Docs/assign-prompt-tags.png)
90+
91+
You can assign multiple tags to a prompt and group them based on their functionality, category, or any other criteria for your organization. In addition, with tags assigned to prompts, you can filter prompts by tags in the Prompt Library.
92+
7093
## Run prompts
7194

7295
You can run prompts via:

docs/cody/capabilities/supported-models.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Cody supports a variety of cutting-edge large language models for use in chat and prompts, allowing you to select the best model for your use case.
66

7-
<Callout type="note">Newer versions of Sourcegraph Enterprise, starting from v5.6, it will be even easier to add support for new models and providers, see [Model Configuration](/cody/clients/model-configuration) for more information.</Callout>
7+
<Callout type="note">Newer versions of Sourcegraph Enterprise, starting from v5.6, it will be even easier to add support for new models and providers, see [Model Configuration](/cody/enterprise/model-configuration) for more information.</Callout>
88

99
| **Provider** | **Model** | **Free** | **Pro** | **Enterprise** | | | | |
1010
| :------------ | :-------------------------------------------------------------------------------------------------------------------------------------------- | :----------- | :----------- | :------------- | --- | --- | --- | --- |
@@ -23,6 +23,7 @@ Cody supports a variety of cutting-edge large language models for use in chat an
2323
| Ollama | [variety](https://ollama.com/) | experimental | experimental | - | | | | |
2424
| Google Gemini | [1.5 Pro](https://deepmind.google/technologies/gemini/pro/) ||| ✅ (Beta) | | | | |
2525
| Google Gemini | [1.5 Flash](https://deepmind.google/technologies/gemini/flash/) ||| ✅ (Beta) | | | | |
26+
| Google Gemini | [2.0 Flash Experimental](https://deepmind.google/technologies/gemini/flash/) |||| | | | |
2627
| | | | | | | | | |
2728

2829
<Callout type="note">To use Claude 3 (Opus and Sonnets) models with Cody Enterprise, make sure you've upgraded your Sourcegraph instance to the latest version.</Callout>

docs/legacy.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
<Accordion title="Sourcegraph 5.X">
66

7+
- [5.10](https://5.10.sourcegraph.com/)
78
- [5.9](https://5.9.sourcegraph.com/)
89
- [5.8](https://5.8.sourcegraph.com/)
910
- [5.7](https://5.7.sourcegraph.com/)

src/data/versions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export const versions: VersionI[] = [
1515
url: '/',
1616
},
1717
{
18-
name: 'v5.9',
19-
url: 'https://5.9.sourcegraph.com/'
18+
name: 'v5.10',
19+
url: 'https://5.10.sourcegraph.com/'
2020
},
2121
];
2222

0 commit comments

Comments
 (0)