docs: upgrade docs site to Astro 6 and update Node.js prerequisites (#244)
Upgrades the docs site from Astro 5/Starlight 0.37 to Astro 6/Starlight 0.38. Adds Cloudflare adapter for deployment. Updates Node.js prerequisites across all docs to match Astro 6's requirement of v22.12.0+. Bumps catalog versions for @astrojs/cloudflare and wrangler.
This commit is contained in:
21
docs/wrangler.jsonc
Normal file
21
docs/wrangler.jsonc
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"compatibility_date": "2026-03-01",
|
||||
"routes": [
|
||||
{
|
||||
"pattern": "docs.emdashcms.com",
|
||||
"custom_domain": true,
|
||||
"zone_name": "emdashcms.com",
|
||||
},
|
||||
],
|
||||
"compatibility_flags": ["global_fetch_strictly_public", "nodejs_compat"],
|
||||
"name": "docs",
|
||||
"main": "@astrojs/cloudflare/entrypoints/server",
|
||||
"assets": {
|
||||
"directory": "./dist",
|
||||
"binding": "ASSETS",
|
||||
},
|
||||
"observability": {
|
||||
"enabled": true,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user