fix more broken links

This commit is contained in:
Test 2024-09-14 11:15:03 -07:00
parent f228e68f87
commit 38ab2fe573
11 changed files with 28 additions and 25 deletions

View file

@ -54,7 +54,7 @@ Type `@docs` to index and retrieve snippets from any documentation site.
{ "name": "docs" }
```
To learn more, visit [Talk To Your Docs](../features/talk-to-your-docs.md).
To learn more, visit `[@docs](../customize/deep-dives/docs.md)`.
### Open Files
@ -66,7 +66,7 @@ Type '@open' to reference the contents of all of your open files. Set `onlyPinne
### Codebase Retrieval
Type '@codebase' to automatically retrieve the most relevant snippets from your codebase. Read more about indexing and retrieval [here](../features/codebase-embeddings.md).
Type '@codebase' to automatically retrieve the most relevant snippets from your codebase. Read more about indexing and retrieval [here](../customize/deep-dives/codebase.md).
```json
{ "name": "codebase" }

View file

@ -35,7 +35,7 @@ Write unit tests for the above selected code, following each of these instructio
- Don't explain how to set up `jest`
```
Now to use this prompt, you can highlight code and use `cmd/ctrl+L` to select it in the Continue sidebar.
Now to use this prompt, you can highlight code and use `cmd/ctrl + L` to select it in the Continue sidebar.
Then, type "/" to see the list of slash commands and choose the one called "test". Press enter and the LLM will respond given the instructions from your prompt file.
@ -79,7 +79,7 @@ The following built-in variables are currently available:
### Context providers
Any [context provider](../customization/context-providers.md) that you have added to your config can be referenced using the name of the context provider. Context providers that receive an input are also supported.
Any [context provider](../context-providers.md) that you have added to your config can be referenced using the name of the context provider. Context providers that receive an input are also supported.
- `{{{ terminal }}}` - The contents of the terminal
- `{{{ url "https://github.com/continuedev/continue" }}}` - The contents of a URL

View file

@ -35,6 +35,6 @@ If you would like to reach the Ollama service from another machine, make sure yo
:::tip
- For more configuration options regarding completion or authentication, you could refer to [here](./ollama.md#completion-options) for Ollama provider.
- If you would like to preload the model before your first conversation with that model in Continue, you could refer to [here](https://ipex-llm.readthedocs.io/en/latest/doc/LLM/Quickstart/continue_quickstart.html#pull-and-prepare-the-model) for more information.
:::
If you would like to preload the model before your first conversation with that model in Continue, you could refer to [here](https://ipex-llm.readthedocs.io/en/latest/doc/LLM/Quickstart/continue_quickstart.html#pull-and-prepare-the-model) for more information.
:::

View file

@ -6,7 +6,7 @@ Run the OpenAI-compatible server by vLLM using `vllm serve`. See their [server d
vllm serve NousResearch/Meta-Llama-3-8B-Instruct --max-model-len 1024
```
The continue implementation uses [OpenAI](./openai.md) under the hood and automatically selects the available model. You only need to set the `apiBase` like this:
The continue implementation uses [OpenAI](../top-level/openai.md) under the hood and automatically selects the available model. You only need to set the `apiBase` like this:
```json title="config.json"
{

View file

@ -71,7 +71,7 @@ OpenAI compatible APIs
- [Anyscale Endpoints](https://github.com/continuedev/deploy-os-code-llm#others)
- [Anyscale Private Endpoints](https://github.com/continuedev/deploy-os-code-llm#anyscale-private-endpoints)
If you are [using an OpenAI compatible server / API](../../setup/model-providers.md#local), you can change the `apiBase` like this:
If you are using an OpenAI compatible server / API, you can change the `apiBase` like this:
```json title="config.json"
{

View file

@ -6,7 +6,7 @@ keywords: [llama, meta, togetherai, ollama, replicate]
Continue makes it easy to code with the latest open-source models, including the entire Llama 3.1 family of models.
If you haven't already installed Continue, you can do that [here for VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) or [here for JetBrains](https://plugins.jetbrains.com/plugin/22707-continue). For more general information on customizing Continue, read [our customization docs](../customization/overview.md).
If you haven't already installed Continue, you can do that [here for VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) or [here for JetBrains](https://plugins.jetbrains.com/plugin/22707-continue). For more general information on customizing Continue, read [our customization docs](../overview.md).
Below we share some of the easiest ways to get up and running, depending on your use-case.

View file

@ -7,6 +7,6 @@ keywords: [no internet, air-gapped, local model]
Continue can be run even on an air-gapped computer if you use a local model. Only a few adjustments are required for this to work.
1. Download the latest .vsix file from the [Open VSX Registry](https://open-vsx.org/extension/Continue/continue) and [install it to VS Code](https://code.visualstudio.com/docs/editor/extension-marketplace#_install-from-a-vsix).
2. Open `~/.continue/config.json` and set `"allowAnonymousTelemetry": false`. This will stop Continue from attempting requests to PostHog for [anonymous telemetry](../telemetry.md).
3. Also in `config.json`, set the default model to a local model. You can read about the available options [here](../setup/select-model.md).
2. Open `~/.continue/config.json` and set `"allowAnonymousTelemetry": false`. This will stop Continue from attempting requests to PostHog for [anonymous telemetry](../../docs/telemetry.md).
3. Also in `config.json`, set the default model to a local model. You can available options [here](../model-providers/).
4. Restart VS Code to ensure that the changes to `config.json` take effect.

View file

@ -8,7 +8,7 @@ keywords: [codestral, mistral, model setup]
**Here is a step-by-step guide on how to set up Codestral with Continue using the Mistral AI API:**
1. Install the Continue VS Code or JetBrains extension following the instructions [here](../quickstart/install.md)
1. Install the Continue VS Code or JetBrains extension following the instructions [here](../../docs/getting-started/install.md)
2. Click on the gear icon in the bottom right corner of the Continue window to open `~/.continue/config.json` (MacOS) / `%userprofile%\.continue\config.json` (Windows)

View file

@ -25,7 +25,7 @@ Highlight the block of code you would like to modify, and press `cmd/ctrl + i` t
## Describe code changes
Describe the changes you would like the model to make to your highlighted code. For edits, a good prompt should be relatively short and concise. For longer, more complex tasks, we recommend using [Chat](./chat.md).
Describe the changes you would like the model to make to your highlighted code. For edits, a good prompt should be relatively short and concise. For longer, more complex tasks, we recommend using [Chat](../chat/how-to-use-it.md).
## Accept or reject changes
@ -35,4 +35,4 @@ You can navigate through each proposed change, accepting or rejecting them using
You can also accept or reject all changes at once using `cmd/ctrl + shift + enter` (to accept) or `cmd/ctrl + shift + delete` (to reject).
If you want to request a new suggestion for the same highlighted code section, you can use `cmd/ctrl + i` to re-prompt the model.
If you want to request a new suggestion for the same highlighted code section, you can use `cmd/ctrl + i` to re-prompt the model.

View file

@ -176,43 +176,43 @@ const config = {
// Redirects from old docs
{
from: "/customization",
to: "/customization/overview",
to: "/customize/overview",
},
{
from: "/getting-started",
to: "/docs/quickstart/overview",
to: "/docs",
},
{
from: "/model-setup/overview",
to: "/setup/overview",
to: "/docs/getting-started/overview",
},
{
from: "/model-setup/select-model",
to: "/setup/select-model",
to: "/docs/getting-started/overview",
},
{
from: "/model-setup/configuration",
to: "/setup/configuration",
to: "/docs/getting-started/overview",
},
{
from: "/setup/select-provider",
to: "/setup/model-providers",
to: "/customize/model-providers",
},
{
from: "/walkthroughs/codebase-embeddings",
to: "/reference/tutorials/codebase-retrieval",
to: "/customize/deep-dives/codebase",
},
{
from: "/walkthroughs/tab-autocomplete",
to: "/reference/tutorials/tab-autocomplete",
to: "/customize/deep-dives/autocomplete",
},
{
from: "/walkthroughs/prompt-files",
to: "/reference/tutorials/prompt-files",
to: "/customize/deep-dives/prompt-files",
},
{
from: "/walkthroughs/quick-actions",
to: "/reference/tutorials/quick-actions",
to: "/docs/actions/how-to-use-it#quick-actions",
},
],
},

View file

@ -86,6 +86,7 @@ const sidebars = {
label: "Model providers",
collapsed: false,
link: {
slug: "/customize/model-providers",
type: "generated-index",
},
items: [
@ -97,6 +98,7 @@ const sidebars = {
type: "category",
label: "More",
link: {
slug: "/customize/model-providers/more",
type: "generated-index",
},
items: [
@ -112,6 +114,7 @@ const sidebars = {
type: "category",
label: "Model types",
link: {
slug: "/customize/model-types",
type: "generated-index",
},
items: [