diff --git a/core/config/yaml/loadYaml.ts b/core/config/yaml/loadYaml.ts index 83c6384ba..b1682e751 100644 --- a/core/config/yaml/loadYaml.ts +++ b/core/config/yaml/loadYaml.ts @@ -236,7 +236,6 @@ async function configYamlToContinueConfig(options: { startUrl: doc.startUrl, rootUrl: doc.rootUrl, faviconUrl: doc.faviconUrl, - maxDepth: doc.maxDepth, useLocalCrawling: doc.useLocalCrawling, sourceFile: doc.sourceFile, })); diff --git a/docs/customize/context/documentation.mdx b/docs/customize/context/documentation.mdx index 38403eedb..2b36fb721 100644 --- a/docs/customize/context/documentation.mdx +++ b/docs/customize/context/documentation.mdx @@ -354,7 +354,6 @@ The following configuration example includes: - title: My Private Docs startUrl: http://10.2.1.2/docs faviconUrl: http://10.2.1.2/docs/assets/favicon.ico - maxDepth: 4 useLocalCrawling: true ``` diff --git a/docs/reference.mdx b/docs/reference.mdx index ca1983241..670100f24 100644 --- a/docs/reference.mdx +++ b/docs/reference.mdx @@ -357,8 +357,6 @@ List of documentation sites to index. - `name` (**required**): Name of the documentation site, displayed in dropdowns, etc. - `startUrl` (**required**): Start page for crawling - usually root or intro page for docs - -- `maxDepth`: Maximum link depth for crawling. Default `4` - `favicon`: URL for site favicon (default is `/favicon.ico` from `startUrl`). - `useLocalCrawling`: Skip the default crawler and only crawl using a local crawler. @@ -507,7 +505,6 @@ context: params: startUrl: https://docs.example.com/introduction rootUrl: https://docs.example.com - maxDepth: 3 mcpServers: - name: DevServer command: npm diff --git a/packages/config-yaml/src/schemas/index.ts b/packages/config-yaml/src/schemas/index.ts index e7d56d82f..e15a5655d 100644 --- a/packages/config-yaml/src/schemas/index.ts +++ b/packages/config-yaml/src/schemas/index.ts @@ -44,7 +44,6 @@ const docSchema = z.object({ startUrl: z.string(), rootUrl: z.string().optional(), faviconUrl: z.string().optional(), - maxDepth: z.number().optional(), useLocalCrawling: z.boolean().optional(), sourceFile: z.string().optional(), });