From 348f0e9d04a3719b7f2acd2a4a3e9161925e03a1 Mon Sep 17 00:00:00 2001 From: Yangshun Date: Sun, 18 Oct 2026 15:51:16 +0800 Subject: [PATCH] docs: correct references to void dev --- docs/guide/edge/headers.md | 2 +- docs/guide/email/receiving.md | 2 +- docs/guide/email/sending.md | 4 ++-- docs/reference/config.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guide/edge/headers.md b/docs/guide/edge/headers.md index 33229478c..e7dc43d84 100644 --- a/docs/guide/edge/headers.md +++ b/docs/guide/edge/headers.md @@ -43,7 +43,7 @@ On a [Void platform](../deployment.md#deploy-to-a-team-platform), apps usually s This stops a header rule from setting or clearing cookies for other apps on the same domain. These limits apply only to header rules. Your app's own response can set cookies and send `Clear-Site-Data`, and on a shared domain those can affect other apps. See [Domains and Resources](../platform/installation/domains.md#adding-a-domain). -In `void dev`, with `void deploy --platform cloudflare`, and on [other runtimes](../deployment.md#other-runtimes), header rules apply both headers as written. +During local development, with `void deploy --platform cloudflare`, and on [other runtimes](../deployment.md#other-runtimes), header rules apply both headers as written. ## Framework `_headers` files diff --git a/docs/guide/email/receiving.md b/docs/guide/email/receiving.md index b79bba642..77c392ea0 100644 --- a/docs/guide/email/receiving.md +++ b/docs/guide/email/receiving.md @@ -96,7 +96,7 @@ to check current provider routing and any remaining setup steps. For direct deployments, follow [Your own Cloudflare account](./domains.md#your-own-cloudflare-account) to configure inbound addresses. -`void dev` has no local inbound trigger. It serves only the outbound dev inbox. Test inbound handlers with `createInboundTestHarness` below. +The local dev server provides the outbound email inbox but has no inbound email trigger. Test inbound handlers with `createInboundTestHarness` below. ## Testing inbound handlers {#testing-inbound-handlers} diff --git a/docs/guide/email/sending.md b/docs/guide/email/sending.md index 6c5d1cc9b..fc5b61d6b 100644 --- a/docs/guide/email/sending.md +++ b/docs/guide/email/sending.md @@ -171,7 +171,7 @@ The default platform allowance is 200 recipient attempts per UTC month and 10 pe ## Local development {#local-development} -During `void dev`, sends are captured to an in-memory inbox instead of going to Cloudflare. The dev server prints the inbox URL when it starts: +During local development, sends are captured to an in-memory inbox instead of going to Cloudflare. The dev server prints the inbox URL when it starts: ``` [void] Email inbox: http://localhost:5173/__void/inbox?token= @@ -195,7 +195,7 @@ The inbox keeps the most recent 100 messages through HMR and clears on a full se The dev inbox works in native Void apps, TanStack Start, and React Router. It is unavailable in SvelteKit, Nuxt, Analog, and Astro; sends from those apps return `BINDING_MISSING`. Use `createEmailTestHarness` from `void/email/testing` to capture sends in tests. If a configured inbox cannot be reached, `sendEmail` returns `UPSTREAM_ERROR` without sending. -`sendInDev` is deprecated. During `void dev` it skips the inbox and returns `BINDING_MISSING`, so it never delivers. Remove it, and deploy the app to test real delivery. +`sendInDev` is deprecated. During local development it skips the inbox and returns `BINDING_MISSING`, so it never delivers. Remove it, and deploy the app to test real delivery. ## Testing {#testing} diff --git a/docs/reference/config.md b/docs/reference/config.md index 4e76ab54e..4e97ce3ae 100644 --- a/docs/reference/config.md +++ b/docs/reference/config.md @@ -512,7 +512,7 @@ Each binding accepts `true` (use default name), `false` (disable), or a string ( Custom binding names work with `void/db`, `void/kv`, and `void/storage` during development and deployment. Custom AI names also work with `void/ai` on direct Cloudflare deploys; managed Workers AI uses the platform's proxy. -`email` is a boolean feature switch. Set it to `true` to enable [email](../guide/email.md) and the `void dev` inbox without an import from `void/email`, or `false` to disable them. On a Void platform, sending uses the platform proxy. Direct Cloudflare setup records a `SEND_EMAIL` binding in `void.lock.json`; see [`email.from`](#email). +`email` is a boolean feature switch. Set it to `true` to enable [email](../guide/email.md) and the local email inbox without an import from `void/email`, or `false` to disable them. On a Void platform, sending uses the platform proxy. Direct Cloudflare setup records a `SEND_EMAIL` binding in `void.lock.json`; see [`email.from`](#email). #### `inference.build`