Skip to content

Add Wrangler config for Cloudflare docs previews - #146

Merged
Frooodle merged 2 commits into
mainfrom
docs/cloudflare-wrangler-config
Nov 20, 2026
Merged

Frooodle merged 2 commits into
mainfrom
docs/cloudflare-wrangler-config

Conversation

@Frooodle

Copy link
Copy Markdown
Member

Adds wrangler.jsonc so the stirling-docs Cloudflare Worker can build the docs from this repo and publish a preview for every branch.

  • Serves ./build as static assets, with trailing-slash URLs and 404.html for missing pages, matching GitHub Pages.
  • The empty previews block is what npx wrangler preview needs; without it, branch builds fail with "Your Wrangler configuration is missing a previews block".
  • Production on GitHub Pages (docs.stirlingpdf.com) is unchanged.

Checked locally with npm run build and wrangler deploy --dry-run (642 asset files, no bindings).

@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
stirling-tools-github-io Ready Ready Preview Nov 20, 2026 12:20am UTC

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Frooodle
Frooodle marked this pull request as ready for review November 20, 2026 00:25
@Frooodle
Frooodle merged commit f8f501e into main Nov 20, 2026
4 of 5 checks passed

This branch was successfully deployed

1 active deployment
Preview — 5108c6ed Deployed Nov 20, 2026 by vercel[bot]
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