diff --git a/docs/docs/customize/context-providers.md b/docs/docs/customize/context-providers.md index 76f63243b..85433002a 100644 --- a/docs/docs/customize/context-providers.md +++ b/docs/docs/customize/context-providers.md @@ -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" } diff --git a/docs/docs/customize/deep-dives/prompt-files.md b/docs/docs/customize/deep-dives/prompt-files.md index eb249e15c..1c70d729c 100644 --- a/docs/docs/customize/deep-dives/prompt-files.md +++ b/docs/docs/customize/deep-dives/prompt-files.md @@ -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 diff --git a/docs/docs/customize/model-providers/more/ipex_llm.md b/docs/docs/customize/model-providers/more/ipex_llm.md index c0f074ca5..47bb18b2a 100644 --- a/docs/docs/customize/model-providers/more/ipex_llm.md +++ b/docs/docs/customize/model-providers/more/ipex_llm.md @@ -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. + +::: diff --git a/docs/docs/customize/model-providers/more/vllm.md b/docs/docs/customize/model-providers/more/vllm.md index fd25fba36..72d79c645 100644 --- a/docs/docs/customize/model-providers/more/vllm.md +++ b/docs/docs/customize/model-providers/more/vllm.md @@ -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" { diff --git a/docs/docs/customize/model-providers/top-level/openai.md b/docs/docs/customize/model-providers/top-level/openai.md index ac0686d65..600ec08cd 100644 --- a/docs/docs/customize/model-providers/top-level/openai.md +++ b/docs/docs/customize/model-providers/top-level/openai.md @@ -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" { diff --git a/docs/docs/customize/tutorials/llama3.1.md b/docs/docs/customize/tutorials/llama3.1.md index 356d3d29b..e326bc564 100644 --- a/docs/docs/customize/tutorials/llama3.1.md +++ b/docs/docs/customize/tutorials/llama3.1.md @@ -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. diff --git a/docs/docs/customize/tutorials/running-continue-without-internet.md b/docs/docs/customize/tutorials/running-continue-without-internet.md index 2b56a8aed..ae95ca216 100644 --- a/docs/docs/customize/tutorials/running-continue-without-internet.md +++ b/docs/docs/customize/tutorials/running-continue-without-internet.md @@ -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. diff --git a/docs/docs/customize/tutorials/set-up-codestral.md b/docs/docs/customize/tutorials/set-up-codestral.md index c7a410f74..b13dea3f0 100644 --- a/docs/docs/customize/tutorials/set-up-codestral.md +++ b/docs/docs/customize/tutorials/set-up-codestral.md @@ -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) diff --git a/docs/docs/docs/edit/how-to-use-it.md b/docs/docs/docs/edit/how-to-use-it.md index f221b7b9d..709a085fa 100644 --- a/docs/docs/docs/edit/how-to-use-it.md +++ b/docs/docs/docs/edit/how-to-use-it.md @@ -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. \ No newline at end of file +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. diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index e399e08f7..b66ec23ea 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -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", }, ], }, diff --git a/docs/sidebars.js b/docs/sidebars.js index d4561eed4..e6e02de43 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -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: [