diff --git a/docs/docs/reference.md b/docs/docs/reference.md index 4d09d4ac6..03707c4e4 100644 --- a/docs/docs/reference.md +++ b/docs/docs/reference.md @@ -4,6 +4,10 @@ description: Reference for the Continue _config.json_ configuration file keywords: [config, config_schema.json, json] --- +:::info +We recently introduced a new configuration format, `config.yaml`, to replace `config.json`. See the `config.yaml` reference and migration guide [here](./yaml-reference.md). +::: + Below are details for each property that can be set in `config.json`. The config schema code is found in [`extensions/vscode/config_schema.json`](https://github.com/continuedev/continue/blob/main/extensions/vscode/config_schema.json). **All properties at all levels are optional unless explicitly marked required** diff --git a/docs/docs/yaml-reference.md b/docs/docs/yaml-reference.md index eae68825d..d4ae3acac 100644 --- a/docs/docs/yaml-reference.md +++ b/docs/docs/yaml-reference.md @@ -4,7 +4,7 @@ description: Reference for the Continue configuration YAML file keywords: [config, yaml, configuration, customize, customization] --- -# Config YAML Reference +# confg.yaml Reference diff --git a/docs/src/theme/Root.js b/docs/src/theme/Root.js new file mode 100644 index 000000000..88a8947e4 --- /dev/null +++ b/docs/src/theme/Root.js @@ -0,0 +1,21 @@ +import React from "react"; + +function TabsSetDefaultValue() { + React.useEffect(() => { + // Only set if it's not already set + if (!localStorage.getItem("docusaurus.tab.config-example")) { + localStorage.setItem("docusaurus.tab.config-example", "json"); + } + }, []); + + return null; +} + +export default function Root({ children }) { + return ( + <> + + {children} + + ); +}