From ad6b1c80893a69df180d7c827ea395f9a4f8fe54 Mon Sep 17 00:00:00 2001 From: Test Date: Tue, 29 Oct 2024 20:29:41 -0700 Subject: [PATCH] docs: updated to 'references' --- docs/docs/actions/how-to-customize.md | 2 +- docs/docs/autocomplete/how-to-customize.md | 2 +- docs/docs/chat/model-setup.mdx | 2 +- docs/docs/edit/model-setup.md | 2 +- docs/docs/{customize/config.md => reference.md} | 9 +++------ docs/docusaurus.config.js | 9 ++++++++- docs/sidebars.js | 1 - 7 files changed, 15 insertions(+), 12 deletions(-) rename docs/docs/{customize/config.md => reference.md} (99%) diff --git a/docs/docs/actions/how-to-customize.md b/docs/docs/actions/how-to-customize.md index ae3c324dbc..4b277c8b11 100644 --- a/docs/docs/actions/how-to-customize.md +++ b/docs/docs/actions/how-to-customize.md @@ -7,7 +7,7 @@ sidebar_position: 5 ## Built-in slash commands -Continue has a large library of built-in slash commands, but when you first install we only display the most commonly used ones, like “/edit”, “/comment”, and “/share”. To add more actions, you can open [config.json](../customize/config.md) and add them to the `slashCommands` array. +Continue has a large library of built-in slash commands, but when you first install we only display the most commonly used ones, like “/edit”, “/comment”, and “/share”. To add more actions, you can open [config.json](../reference.md) and add them to the `slashCommands` array. ## Custom slash commands diff --git a/docs/docs/autocomplete/how-to-customize.md b/docs/docs/autocomplete/how-to-customize.md index 4be8303d87..dcf6ba2344 100644 --- a/docs/docs/autocomplete/how-to-customize.md +++ b/docs/docs/autocomplete/how-to-customize.md @@ -5,7 +5,7 @@ keywords: [customize] sidebar_position: 5 --- -Continue offers a handful of parameters in [`config.json`](../customize/config.md) that can be tuned to find the perfect balance between suggestion quality and system performance for your specific needs and hardware capabilities: +Continue offers a handful of parameters in [`config.json`](../reference.md) that can be tuned to find the perfect balance between suggestion quality and system performance for your specific needs and hardware capabilities: ```json title="config.json" "tabAutocompleteOptions": { diff --git a/docs/docs/chat/model-setup.mdx b/docs/docs/chat/model-setup.mdx index 92ac1ea590..6e9dbcf221 100644 --- a/docs/docs/chat/model-setup.mdx +++ b/docs/docs/chat/model-setup.mdx @@ -9,7 +9,7 @@ import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; :::info -This page recommends models and providers for Chat. Read more about how to set up your `config.json` [here](../customize/config.md). +This page recommends models and providers for Chat. Read more about how to set up your `config.json` [here](../reference.md). ::: ## Best overall experience diff --git a/docs/docs/edit/model-setup.md b/docs/docs/edit/model-setup.md index 80965c085b..ded10c2a42 100644 --- a/docs/docs/edit/model-setup.md +++ b/docs/docs/edit/model-setup.md @@ -7,4 +7,4 @@ keywords: [edit, cmd l, model] By default, Edit uses the [same model as Chat](chat/model-setup.mdx) since we recommend a similar, 400B+ parameter model or one of the frontier model for code edits. -You can configure a different model to be used for edits by updating your [`config.json`](../customize/config.md). +You can configure a different model to be used for edits by updating your [`config.json`](../reference.md). diff --git a/docs/docs/customize/config.md b/docs/docs/reference.md similarity index 99% rename from docs/docs/customize/config.md rename to docs/docs/reference.md index 68aa955e3a..6468eb85ff 100644 --- a/docs/docs/customize/config.md +++ b/docs/docs/reference.md @@ -1,12 +1,9 @@ --- -title: Configuration -description: Continue configuration +title: Reference +description: Reference for the Continue _config.json_ configuration file keywords: [config, config_schema.json, json] -sidebar_position: 2 --- -# Continue Configuration - Continue can be deeply customized. User-level configuration is stored and can be edited in your home directory in [`config.json`](#configjson): - `~/.continue/config.json` (MacOS / Linux) @@ -464,7 +461,7 @@ Several experimental config parameters are available, as described below: - `fix`: Prompt for fixing code. - `optimize`: Prompt for optimizing code. - `fixGrammar`: Prompt for fixing grammar or spelling. -- `useChromiumForDocsCrawling`: use chromium to crawl docs instead of default lighter-weight tool that can't render sites. Downloads and installs Chromium to `~/.continue/.utils`. +- `useChromiumForDocsCrawling`: Use chromium to crawl docs instead of default lighter-weight tool that can't render sites. Downloads and installs Chromium to `~/.continue/.utils`. Example diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 2b4c39510f..b4e5b7278e 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -91,6 +91,13 @@ const config = { label: "Customize", href: "/customize/overview", }, + { + type: "docSidebar", + sidebarId: "customizingSidebar", + position: "left", + label: "Reference", + href: "/reference", + }, { to: "https://github.com/continuedev/continue", label: "GitHub", @@ -230,7 +237,7 @@ const config = { from: "/changelog", }, { - to: "/customize/config", + to: "/reference", from: ["/customization/code-config", "/reference/config"], }, { diff --git a/docs/sidebars.js b/docs/sidebars.js index 755d7f720c..10db5727d6 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -131,7 +131,6 @@ const sidebars = { }, ], }, - "customize/config", "customize/changelog", ], };