7e3f0cf07e
* Docs: unblock local docs build without AI Search * Docs: deduplicate MCP tool definition * style: format * Docs: clarify local AI Search fallback config * style: format --------- Co-authored-by: emdashbot[bot] <emdashbot[bot]@users.noreply.github.com>
774 B
774 B
EmDash Docs
Documentation site for EmDash, built with Starlight.
Development
pnpm dev
If you're running in a remote or API-token-only environment that cannot access the
Cloudflare AI Search instance, keep using pnpm dev for local content work and
use the local-only Wrangler config for built-worker preview checks instead:
pnpm build
pnpm exec wrangler dev --config wrangler.local.jsonc
The /mcp endpoint still works, but it returns a helpful message until a
Cloudflare AI Search binding is configured.
Build
pnpm build
For remote docs preview/deploy checks that require production bindings, run the main config as usual:
pnpm exec wrangler dev
pnpm exec wrangler deploy