Merge pull request #6678 from continuedev/dallin/remove-yaml-max-depth
chore: remove YAML maxDepth
This commit is contained in:
commit
3995797130
4 changed files with 0 additions and 6 deletions
|
|
@ -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,
|
||||
}));
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue