diff --git a/wrangler.jsonc b/wrangler.jsonc new file mode 100644 index 0000000..f1844c0 --- /dev/null +++ b/wrangler.jsonc @@ -0,0 +1,16 @@ +{ + // Deploys the built docs.teemops.com site (see mkdocs.yml) as a Cloudflare + // Workers static-assets project — no Worker script needed, just the + // "site/" folder that `mkdocs build` produces. + // + // IMPORTANT: "name" must match the Worker/project name shown in the + // Cloudflare dashboard for this deployment. Update it if it differs. + "name": "tops-docs", + "compatibility_date": "2026-08-05", + "assets": { + "directory": "./site", + // mkdocs generates 404.html at the site root — serve it for unmatched + // paths instead of Cloudflare's blank default 404. + "not_found_handling": "404-page" + } +}