create-thally-docs 0.10.98 → 0.10.99

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 CHANGED
@@ -78,6 +78,16 @@ runs retain subprocess output for scripts and CI. These options also work with
78
78
  | `create-thally-docs check [dir] [--fix] [--ci] [--drift] [--external]` | Lint content for broken links, orphan pages, and missing frontmatter; `--external` also checks links to public hosts (bounded, warnings only) |
79
79
  | `create-thally-docs translate --locale <code>` | Translate content into another locale |
80
80
 
81
+ Public URL imports default to 1,000 pages. The web migration flow supports up to
82
+ 1,000 pages; for larger sites, use the CLI with an explicit `--max-pages` value
83
+ (up to 10,000). This is a crawl limit, not a guarantee that every site of that
84
+ size will import or build successfully. Source access, content size, and the
85
+ destination runtime still apply. For example:
86
+
87
+ ```bash
88
+ npx create-thally-docs migrate https://docs.example.com my-docs --max-pages 1500 --yes
89
+ ```
90
+
81
91
  Interactive migrations ask whether the source is Mintlify, Docusaurus, Fern, or
82
92
  another auto-detected platform. When automatic detection receives a live
83
93
  website URL, the CLI recommends its source GitHub repository and requires
package/dist/index.js CHANGED
@@ -740,7 +740,7 @@ Options:
740
740
  --into <dir> Migrate into an existing Thally project
741
741
  --branch <name> Override the detected Git branch
742
742
  --docs-dir <path> Override the detected documentation directory
743
- --max-pages <count> Limit a public URL crawl to 1-1000 pages
743
+ --max-pages <count> Limit a public URL crawl to 1-10000 pages (default: 1000)
744
744
  --platform <name> Use mintlify, docusaurus, fern, or auto
745
745
  --source-ref <owner/repo>=<path>
746
746
  Import a Mintlify sourceRef repository under <path> (repeatable)
@@ -850,8 +850,8 @@ async function runMigrateCommand() {
850
850
  }
851
851
  const maxPagesValue = getFlagValue("--max-pages");
852
852
  const maxPages = maxPagesValue ? Number(maxPagesValue) : void 0;
853
- if (maxPages !== void 0 && (!Number.isInteger(maxPages) || maxPages < 1 || maxPages > 1e3)) {
854
- console.error("\n \u274C --max-pages must be an integer between 1 and 1000.");
853
+ if (maxPages !== void 0 && (!Number.isInteger(maxPages) || maxPages < 1 || maxPages > 1e4)) {
854
+ console.error("\n \u274C --max-pages must be an integer between 1 and 10000.");
855
855
  process.exit(1);
856
856
  }
857
857
  terminal.detail("Source", `${source.origin}${source.pathname}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-thally-docs",
3
- "version": "0.10.98",
3
+ "version": "0.10.99",
4
4
  "description": "Scaffold an open-source Thally docs site for people, search engines, and AI tools.",
5
5
  "type": "module",
6
6
  "engines": {