From c132986c95d9fe6aafe68c0d47e71f783f16bc3d Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 17 Jul 2025 16:10:21 +0200 Subject: [PATCH] remove YAML maxDepth --- core/config/yaml/loadYaml.ts | 1 - docs/customize/context/documentation.mdx | 1 - docs/reference.mdx | 3 --- packages/config-yaml/src/schemas/index.ts | 1 - 4 files changed, 6 deletions(-) diff --git a/core/config/yaml/loadYaml.ts b/core/config/yaml/loadYaml.ts index 04c19b326..9398e377d 100644 --- a/core/config/yaml/loadYaml.ts +++ b/core/config/yaml/loadYaml.ts @@ -235,7 +235,6 @@ async function configYamlToContinueConfig(options: { startUrl: doc.startUrl, rootUrl: doc.rootUrl, faviconUrl: doc.faviconUrl, - maxDepth: doc.maxDepth, useLocalCrawling: doc.useLocalCrawling, })); diff --git a/docs/customize/context/documentation.mdx b/docs/customize/context/documentation.mdx index d2bb0f5f0..433b96d30 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 9a9381622..931bb3f54 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 4ac2aa1f5..cca4fcf32 100644 --- a/packages/config-yaml/src/schemas/index.ts +++ b/packages/config-yaml/src/schemas/index.ts @@ -42,7 +42,6 @@ const docSchema = z.object({ startUrl: z.string(), rootUrl: z.string().optional(), faviconUrl: z.string().optional(), - maxDepth: z.number().optional(), useLocalCrawling: z.boolean().optional(), });