Merge pull request #6678 from continuedev/dallin/remove-yaml-max-depth

chore: remove YAML maxDepth
This commit is contained in:
Dallin Romney 2025-07-22 09:52:46 +02:00 • committed by GitHub
commit 3995797130
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 6 deletions

View file

@ -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,
}));

View file

@ -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
```
</Tab>

View file

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

View file

@ -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(),
});