set to json by default

This commit is contained in:
Nate 2025-02-18 10:29:16 -08:00
parent 8b6d0c81f1
commit 521b335dde
3 changed files with 26 additions and 1 deletions

View file

@ -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**

View file

@ -4,7 +4,7 @@ description: Reference for the Continue configuration YAML file
keywords: [config, yaml, configuration, customize, customization]
---
# Config YAML Reference
# confg.yaml Reference
<!-- TODO - data section -->

21
docs/src/theme/Root.js Normal file
View file

@ -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 (
<>
<TabsSetDefaultValue />
{children}
</>
);
}