fix broken docs refs in zh-CN

This commit is contained in:
Nate 2024-11-21 14:12:08 -08:00
parent 85d8581230
commit 93f00ccdb7
9 changed files with 32 additions and 32 deletions

View file

@ -19,19 +19,19 @@ You can include the currently open file as context by pressing <kbd>cmd/ctrl</kb
## Specific file
You can include a specific file in your current workspace as context by typing [`@Files`](../customize/context-providers.md#files) and selecting the file.
You can include a specific file in your current workspace as context by typing [`@Files`](../customize/context-providers.md#file) and selecting the file.
## Specific folder
You can include a folder in your current workspace as context by typing [`@Folder`](../customize/context-providers.md#folders) and selecting the directory. It [works like `@Codebase`](../customize/deep-dives/codebase.md) but only includes the files in the selected folder.
You can include a folder in your current workspace as context by typing [`@Folder`](../customize/context-providers.md#folder) and selecting the directory. It [works like `@Codebase`](../customize/deep-dives/codebase.md) but only includes the files in the selected folder.
## Entire codebase
You can include your entire codebase as context by typing [`@Codebase`](../customize/context-providers.md#codebase-retrieval). You can learn about how @Codebase works [here](../customize/deep-dives/codebase.md).
You can include your entire codebase as context by typing [`@Codebase`](../customize/context-providers.md#codebase). You can learn about how @Codebase works [here](../customize/deep-dives/codebase.md).
## Documentation site
You can include a documentation site as context by typing [`@Docs`](../customize/context-providers.md#documentation) and selecting the documentation site. You can learn about how @Docs works [here](../customize/deep-dives/docs.md).
You can include a documentation site as context by typing [`@Docs`](../customize/context-providers.md#docs) and selecting the documentation site. You can learn about how @Docs works [here](../customize/deep-dives/docs.md).
## Terminal contents

View file

@ -19,19 +19,19 @@ sidebar_position: 3
## 指定文件
你可以通过输入 [`@Files`](../customize/context-providers.md#files) 并选择文件,包含当前工作区中的指定文件作为上下文。
你可以通过输入 [`@Files`](../customize/context-providers.md#file) 并选择文件,包含当前工作区中的指定文件作为上下文。
## 指定目录
你可以通过输入 [`@Folder`](../customize/context-providers.md#folders) 并选择目录,包含当前工作区中指定目录作为上下文。它像 [`@Codebase`](../customize/deep-dives/codebase.md) 一样工作,但是只包含指定目录中的文件。
你可以通过输入 [`@Folder`](../customize/context-providers.md#folder) 并选择目录,包含当前工作区中指定目录作为上下文。它像 [`@Codebase`](../customize/deep-dives/codebase.md) 一样工作,但是只包含指定目录中的文件。
## 整个代码库
你可以通过输入 [`@Codebase`](../customize/context-providers.md#codebase-retrieval) 包含整个代码库作为上下文。你可以 [在这里](../customize/deep-dives/codebase.md) 了解 `@Codebase` 是如何工作的。
你可以通过输入 [`@Codebase`](../customize/context-providers.md#codebase) 包含整个代码库作为上下文。你可以 [在这里](../customize/deep-dives/codebase.md) 了解 `@Codebase` 是如何工作的。
## 文档网址
你可以通过输入 [`@Docs`](../customize/context-providers.md#documentation) 并选择文档网址,包含文档网址作文上下文。你可以 [在这里](../customize/deep-dives/docs.md) 了解 `@Docs` 是如何工作的。
你可以通过输入 [`@Docs`](../customize/context-providers.md#docs) 并选择文档网址,包含文档网址作文上下文。你可以 [在这里](../customize/deep-dives/docs.md) 了解 `@Docs` 是如何工作的。
## 终端内容

View file

@ -9,7 +9,7 @@ sidebar_position: 4
模型的响应会直接流式地返回到侧边栏。每个响应中的代码片段将放在它自己的代码块中,每个代码块会给你一些按钮,“应用到当前文件”, “插入到光标处” 或 “复制” 。当你在会话的结尾按下 `cmd/ctrl + L` (VS Code) 或 `cmd/ctrl + J` (JetBrains) ,所有上下文会被清除,一个新的会话将会开始,让你可以开始一个新的任务。
如果你想查看聊天中发送给模型的确切的提示词,你可以 [在提示词日志中查看这个](troubleshooting.md#llm-prompt-logs) 。
如果你想查看聊天中发送给模型的确切的提示词,你可以 [在提示词日志中查看这个](../troubleshooting.md#llm-提示词日志) 。
You can learn more about how `@Codebase` works [here](../customize/deep-dives/codebase.md) and `@Docs` [here](../customize/deep-dives/docs.md).

View file

@ -11,6 +11,6 @@ sidebar_position: 1
## 推荐的自动补全模型
如果你有使用任何模型的能力,我们推荐通过 [Mistral](../model-providers/top-level/mistral.md#autocomplete-model) 使用 `Codestral` 。
如果你有使用任何模型的能力,我们推荐通过 [Mistral](../model-providers/top-level/mistral.md#自动补全模型) 使用 `Codestral` 。
如果你想要在本地运行模型,我们推荐通过 [Ollama](../model-providers/top-level/ollama.md#autocomplete-model) 使用 `Starcoder2-3B` 。
如果你想要在本地运行模型,我们推荐通过 [Ollama](../model-providers/top-level/ollama.md#自动补全模型) 使用 `Starcoder2-3B` 。

View file

@ -13,7 +13,7 @@ sidebar_position: 3
如果你有使用任何模型的能力,我们推荐 `voyage-code-2` ,它独立列在下面,和其他的嵌入模型选项一起。
如果你想本地生成嵌入,我们推荐通过 [Ollama](../model-providers/top-level/ollama.md#embeddings-model) 使用 `nomic-embed-text` 。
如果你想本地生成嵌入,我们推荐通过 [Ollama](../model-providers/top-level/ollama.md#嵌入模型) 使用 `nomic-embed-text` 。
### Voyage AI
@ -31,7 +31,7 @@ sidebar_position: 3
### Ollama
查看 [这个](../model-providers/top-level/ollama.md#embeddings-model) 获取如何使用 Ollama 来嵌入的指令。
查看 [这个](../model-providers/top-level/ollama.md#嵌入模型) 获取如何使用 Ollama 来嵌入的指令。
### Transformers.js (当前只有 VS Code)
@ -60,12 +60,12 @@ sidebar_position: 3
### OpenAI
查看 [这里](../model-providers/top-level/openai.md#embeddings-model) 获取如何使用 OpenAI 嵌入的指令。
查看 [这里](../model-providers/top-level/openai.md#嵌入模型) 获取如何使用 OpenAI 嵌入的指令。
### Cohere
查看 [这里](../model-providers/more/cohere.md#embeddings-model) 获取如何使用 Cohere 嵌入的指令。
查看 [这里](../model-providers/more/cohere.md#嵌入模型) 获取如何使用 Cohere 嵌入的指令。
### Gemini
查看 [这里](../model-providers/top-level/gemini.md#embeddings-model) 获取如何使用 Gemini 嵌入的指令。
查看 [这里](../model-providers/top-level/gemini.md#嵌入模型) 获取如何使用 Gemini 嵌入的指令。

View file

@ -20,4 +20,4 @@ Continue 可以深度定制。这个主要通过编辑位于 `~/.continue/config
`config.json` 可以处理大多数需要的配置,所以我们推荐在可能的情况下使用它。不过,如果你需要可编程的配置 Continue ,你可以使用 `config.ts` ,它位于 `~/.continue/config.ts` (MacOS / Linux) 或 `%USERPROFILE%\.continue\config.ts` (Windows) 。
例如,如何使用 `config.ts` ,查看 [编写定制斜杠命令](./tutorials/build-your-own-slash-command.md#custom-slash-commands) 或者 [编写定制上下文提供者](./tutorials/build-your-own-context-provider.md) 。
例如,如何使用 `config.ts` ,查看 [编写定制斜杠命令](./tutorials/build-your-own-slash-command.md#自定义斜杠命令) 或者 [编写定制上下文提供者](./tutorials/build-your-own-context-provider.md) 。

View file

@ -11,4 +11,4 @@ keywords: [编辑, cmd l, 工作]
如果你接受 diff ,我们移除之前的高亮行,如果你拒绝 diff ,我们移除建议的变更。
如果你想查看在编辑中发送给模型的确切的提示词,你可以 [在提示词日志中查看这个](troubleshooting.md#check-the-logs) 。
如果你想查看在编辑中发送给模型的确切的提示词,你可以 [在提示词日志中查看这个](../troubleshooting.md#检查日志) 。

View file

@ -13,45 +13,45 @@ import Admonition from "@theme/Admonition";
<Tabs>
<TabItem value="chat" label="聊天">
[聊天](../chat/how-to-use-it.md#how-to-use-it) 让你方便向 LLM 寻求帮助,而不需要离开 IDE
[聊天](../chat/how-to-use-it.md#如何使用它) 让你方便向 LLM 寻求帮助,而不需要离开 IDE
![chat](/img/chat.gif)
<Admonition type="info" title="了解更多" icon="📚">
了解更多关于 [聊天](../chat/how-to-use-it.md#how-to-use-it)
了解更多关于 [聊天](../chat/how-to-use-it.md#如何使用它)
</Admonition>
</TabItem>
<TabItem value="autocomplete" label="自动补全">
[自动补全](../autocomplete/how-to-use-it.md#how-to-use-it) 随着你的输入提供行内代码建议
[自动补全](../autocomplete/how-to-use-it.md#如何使用它) 随着你的输入提供行内代码建议
![autocomplete](/img/autocomplete.gif)
<Admonition type="info" title="了解更多" icon="📚">
了解更多关于 [自动补全](../autocomplete/how-to-use-it.md#how-to-use-it)
了解更多关于 [自动补全](../autocomplete/how-to-use-it.md#如何使用它)
</Admonition>
</TabItem>
<TabItem value="edit" label="编辑">
[编辑](../edit/how-to-use-it.md#how-to-use-it) 是一种编辑代码的方便的方式,不需要离开你的当前文件
[编辑](../edit/how-to-use-it.md#如何使用它) 是一种编辑代码的方便的方式,不需要离开你的当前文件
![edit](/img/edit.gif)
<Admonition type="info" title="了解更多" icon="📚">
了解更多关于 [编辑](../edit/how-to-use-it.md#how-to-use-it)
了解更多关于 [编辑](../edit/how-to-use-it.md#如何使用它)
</Admonition>
</TabItem>
<TabItem value="s" label="Actions">
[Actions](../actions/how-to-use-it.md#how-to-use-it) 是常用情况的快捷方式
[Actions](../actions/how-to-use-it.md#如何使用它) 是常用情况的快捷方式
![actions](/img/actions.gif)
<Admonition type="info" title="了解更多" icon="📚">
了解更多关于如何使用 [Actions](../actions/how-to-use-it.md#how-to-use-it)
了解更多关于如何使用 [Actions](../actions/how-to-use-it.md#如何使用它)
</Admonition>
</TabItem>

View file

@ -6,11 +6,11 @@ keywords: [重新加载, 删除, 手动, 日志, 服务器, 控制台]
Continue VS Code 扩展现在是 beta , JetBrains 扩展现在是 Alpha 。如果你有问题,请跟随下面的步骤。
1. [检查日志](#check-the-logs)
2. [尝试最新的预览版](#download-the-latest-pre-release)
3. [下载较老的版本](#download-an-older-version)
4. [解析快件键问题](#keyboard-shortcuts-not-resolving)
5. [检查常见问题的 FAQ](#faqs)
1. [检查日志](#检查日志)
2. [尝试最新的预览版](#下载最新的预览版)
3. [下载较老的版本](#下载一个较老的版本)
4. [解析快件键问题](#快捷键无法解析)
5. [检查常见问题的 FAQ](#常见问题)
## 检查日志
@ -128,4 +128,4 @@ Continue 可以在 [code-server](https://coder.com/) 中使用,但是如果你
## 仍然有问题?
你还可以 [在这里](https://discord.gg/vapESyrFmJ) 加入我们的 Discord 社区,获得更多的支持和讨论。另外,你可以 [在这里](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=) 创建一个 GitHub issue ,提供你的问题的详情,我们将能更快的帮助你。
你还可以 [在这里](https://discord.gg/vapESyrFmJ) 加入我们的 Discord 社区,获得更多的支持和讨论。另外,你可以 [在这里](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=) 创建一个 GitHub issue ,提供你的问题的详情,我们将能更快的帮助你。