1// The docs site on Cloudflare: a Worker with static assets only, serving2// website/build at https://012.dev.site. `make site-publish` builds the3// site with the release and runs `wrangler deploy` here. See4// docs/contributing/site.md.5{6 "$schema": "node_modules/wrangler/config-schema.json",7 "name": "012-site",8 "compatibility_date": "2026-09-01",9 "assets": {10 "directory": "./build",11 // Docusaurus writes every page as a directory with an index.html12 // (trailingSlash: true), so /docs/x redirects to /docs/x/.13 "html_handling": "auto-trailing-slash",14 // An address with no file gets the site's own 404 page, with a 404.15 "not_found_handling": "404-page"16 },17 // wrangler creates the DNS record and the certificate for the domain.18 "routes": [{ "pattern": "012.dev.site", "custom_domain": true }],19 "workers_dev": false,20 "preview_urls": false21}