Skip to content

Commit

Permalink
docs: updated to 'references'
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick-Erichsen committed Oct 30, 2024
1 parent ee9df98 commit ad6b1c8
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/docs/actions/how-to-customize.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/autocomplete/how-to-customize.md
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/chat/model-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/edit/model-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
9 changes: 3 additions & 6 deletions docs/docs/customize/config.md → docs/docs/reference.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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

Expand Down
9 changes: 8 additions & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -230,7 +237,7 @@ const config = {
from: "/changelog",
},
{
to: "/customize/config",
to: "/reference",
from: ["/customization/code-config", "/reference/config"],
},
{
Expand Down
1 change: 0 additions & 1 deletion docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ const sidebars = {
},
],
},
"customize/config",
"customize/changelog",
],
};
Expand Down

0 comments on commit ad6b1c8

Please sign in to comment.