@arabold/docs-mcp-server 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/dist/{chunk-ADZQJG2M.js → chunk-VTO2ED43.js} +764 -254
- package/dist/chunk-VTO2ED43.js.map +1 -0
- package/dist/cli.js +60 -16
- package/dist/cli.js.map +1 -1
- package/dist/server.js +7 -9
- package/dist/server.js.map +1 -1
- package/package.json +5 -6
- package/dist/chunk-ADZQJG2M.js.map +0 -1
package/README.md
CHANGED
|
@@ -267,7 +267,8 @@ docs-cli fetch-url <url> [options]
|
|
|
267
267
|
|
|
268
268
|
**Options:**
|
|
269
269
|
|
|
270
|
-
- `--no-follow-redirects`: Disable following HTTP redirects (default: follow redirects)
|
|
270
|
+
- `--no-follow-redirects`: Disable following HTTP redirects (default: follow redirects).
|
|
271
|
+
- `--scrape-mode <mode>`: HTML processing strategy: 'fetch' (fast, less JS), 'playwright' (slow, full JS), 'auto' (default).
|
|
271
272
|
|
|
272
273
|
**Examples:**
|
|
273
274
|
|
|
@@ -289,9 +290,12 @@ docs-cli scrape <library> <url> [options]
|
|
|
289
290
|
- `-v, --version <string>`: The specific version to associate with the scraped documents.
|
|
290
291
|
- Accepts full versions (`1.2.3`), pre-release versions (`1.2.3-beta.1`), or partial versions (`1`, `1.2` which are expanded to `1.0.0`, `1.2.0`).
|
|
291
292
|
- If omitted, the documentation is indexed as **unversioned**.
|
|
292
|
-
- `-p, --max-pages <number>`: Maximum pages to scrape (default:
|
|
293
|
+
- `-p, --max-pages <number>`: Maximum pages to scrape (default: 1000).
|
|
293
294
|
- `-d, --max-depth <number>`: Maximum navigation depth (default: 3).
|
|
294
295
|
- `-c, --max-concurrency <number>`: Maximum concurrent requests (default: 3).
|
|
296
|
+
- `--scope <scope>`: Defines the crawling boundary: 'subpages' (default), 'hostname', or 'domain'.
|
|
297
|
+
- `--no-follow-redirects`: Disable following HTTP redirects (default: follow redirects).
|
|
298
|
+
- `--scrape-mode <mode>`: HTML processing strategy: 'fetch' (fast, less JS), 'playwright' (slow, full JS), 'auto' (default).
|
|
295
299
|
- `--ignore-errors`: Ignore errors during scraping (default: true).
|
|
296
300
|
|
|
297
301
|
**Examples:**
|