Skip to content

feat: publish every markdown source in one bundle under /docs-api - #190

Merged
m1ngsama merged 1 commit into
mainfrom
feat/docs-bundle
Sep 26, 2026
Merged

m1ngsama merged 1 commit into
mainfrom
feat/docs-bundle

Conversation

@m1ngsama

Copy link
Copy Markdown
Member

The CLI's first docs search downloads each of the 247 sources separately, which takes about 40 s on slow links.

  • The build also writes /docs-api/bundle.json: { files: [{ path, sha, content }] } for the same pages as index.json, about 580 KB gzipped. index.json and raw/* are unchanged.
  • Each entry's sha matches git hash-object; the CLI stores only entries whose sha matches the index and whose content hashes to it (feat: bulk-load documents from the mirror bundle with prefetch docs#11).

@m1ngsama
m1ngsama requested a review from sheepkinn as a code owner September 26, 2026 16:20
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying documents with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8a66100
Status: ✅  Deploy successful!
Preview URL: https://7c40346c.documents-dq4.pages.dev
Branch Preview URL: https://feat-docs-bundle.documents-dq4.pages.dev

View logs

@m1ngsama
m1ngsama merged commit f426298 into main Sep 26, 2026
5 checks passed
@m1ngsama
m1ngsama deleted the feat/docs-bundle branch September 26, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant