Skip to content

Commit 3995797

Browse files
authored
Merge pull request #6678 from continuedev/dallin/remove-yaml-max-depth
chore: remove YAML maxDepth
2 parents 10861f2 + 45f4be6 commit 3995797

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed

core/config/yaml/loadYaml.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ async function configYamlToContinueConfig(options: {
236236
startUrl: doc.startUrl,
237237
rootUrl: doc.rootUrl,
238238
faviconUrl: doc.faviconUrl,
239-
maxDepth: doc.maxDepth,
240239
useLocalCrawling: doc.useLocalCrawling,
241240
sourceFile: doc.sourceFile,
242241
}));

docs/customize/context/documentation.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,6 @@ The following configuration example includes:
354354
- title: My Private Docs
355355
startUrl: http://10.2.1.2/docs
356356
faviconUrl: http://10.2.1.2/docs/assets/favicon.ico
357-
maxDepth: 4
358357
useLocalCrawling: true
359358
```
360359
</Tab>

docs/reference.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,6 @@ List of documentation sites to index.
357357

358358
- `name` (**required**): Name of the documentation site, displayed in dropdowns, etc.
359359
- `startUrl` (**required**): Start page for crawling - usually root or intro page for docs
360-
361-
- `maxDepth`: Maximum link depth for crawling. Default `4`
362360
- `favicon`: URL for site favicon (default is `/favicon.ico` from `startUrl`).
363361
- `useLocalCrawling`: Skip the default crawler and only crawl using a local crawler.
364362

@@ -507,7 +505,6 @@ context:
507505
params:
508506
startUrl: https://docs.example.com/introduction
509507
rootUrl: https://docs.example.com
510-
maxDepth: 3
511508
mcpServers:
512509
- name: DevServer
513510
command: npm

packages/config-yaml/src/schemas/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ const docSchema = z.object({
4444
startUrl: z.string(),
4545
rootUrl: z.string().optional(),
4646
faviconUrl: z.string().optional(),
47-
maxDepth: z.number().optional(),
4847
useLocalCrawling: z.boolean().optional(),
4948
sourceFile: z.string().optional(),
5049
});

0 commit comments

Comments
 (0)