Skip to content

Commit 3641bb0

Browse files
authored
chore: move Local Development up to top level in Workers docs (#19715)
* chore: move Local Development up to top level in Workers docs * chore: add redirect * remove .idea * better linking to remote docs * Fix broken links * fix ordering and spacing
1 parent 1933817 commit 3641bb0

File tree

28 files changed

+38
-37
lines changed

28 files changed

+38
-37
lines changed

public/_redirects

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,6 +1354,7 @@
13541354
/workers/platform/routes/ /workers/configuration/routing/ 301
13551355
/workers/about/tips/debugging/ /workers/observability/ 301
13561356
/workers/testing/debugging-tools/ /workers/observability/dev-tools/ 301
1357+
/workers/testing/local-development/ /workers/local-development/ 301
13571358
/workers/about/tips/signing-requests/ /workers/examples/signing-requests/ 301
13581359
/workers/about/using-cache/ /workers/reference/how-the-cache-works/ 301
13591360
/workers/learning/how-the-cache-works/ /workers/reference/how-the-cache-works/ 301
@@ -1544,7 +1545,7 @@
15441545
/workers/runtime-apis/mtls/ /workers/runtime-apis/bindings/mtls/ 301
15451546
/workers/runtime-apis/queues/ /workers/runtime-apis/bindings/bindings/queues/ 301
15461547
/workers/runtime-apis/service-bindings/ /workers/runtime-apis/bindings/service-bindings/ 301
1547-
/workers/observability/local-development-and-testing/ /workers/testing/local-development/ 301
1548+
/workers/observability/local-development-and-testing/ /workers/local-development/ 301
15481549
/workers/observability/sentry-integration/ /workers/observability/integrations/sentry 301
15491550
/workers/configuration/deployments/ /workers/configuration/versions-and-deployments/ 301
15501551
/workers/configuration/continuous-integration/ /workers/ci-cd/ 301

src/content/docs/d1/observability/debug-d1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@ You should include as much of the following in any bug report:
9494

9595
* Learn [how to debug Workers](/workers/observability/).
9696
* Understand how to [access logs](/workers/observability/logs/) generated from your Worker and D1.
97-
* Use [`wrangler dev`](/workers/wrangler/commands/#dev) to run your Worker and D1 locally and [debug issues before deploying](/workers/testing/local-development/).
97+
* Use [`wrangler dev`](/workers/wrangler/commands/#dev) to run your Worker and D1 locally and [debug issues before deploying](/workers/local-development/).

src/content/docs/pages/functions/bindings.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ You can interact with your R2 bucket bindings locally in one of two ways:
196196

197197
:::note
198198

199-
By default, Wrangler automatically persists data to local storage. For more information, refer to [Local development](/workers/testing/local-development/).
199+
By default, Wrangler automatically persists data to local storage. For more information, refer to [Local development](/workers/local-development/).
200200

201201
:::
202202

@@ -277,7 +277,7 @@ Interact with this binding by using `context.env` (for example, `context.env.NOR
277277

278278
:::note
279279

280-
By default, Wrangler automatically persists data to local storage. For more information, refer to [Local development](/workers/testing/local-development/).
280+
By default, Wrangler automatically persists data to local storage. For more information, refer to [Local development](/workers/local-development/).
281281

282282
:::
283283

src/content/docs/pages/functions/wrangler-configuration.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ A [binding](/pages/functions/bindings/) enables your Pages Functions to interact
431431

432432
:::note
433433

434-
When using Wrangler in the default local development mode, files will be written to local storage instead of the preview or production database. Refer to [Local development](/workers/testing/local-development/) for more details.
434+
When using Wrangler in the default local development mode, files will be written to local storage instead of the preview or production database. Refer to [Local development](/workers/local-development/) for more details.
435435

436436
:::
437437

@@ -471,7 +471,7 @@ When using Wrangler in the default local development mode, files will be written
471471

472472
:::note
473473

474-
When using Wrangler in the default local development mode, files will be written to local storage instead of the preview or production namespace. Refer to [Local development](/workers/testing/local-development/) for more details.
474+
When using Wrangler in the default local development mode, files will be written to local storage instead of the preview or production namespace. Refer to [Local development](/workers/local-development/) for more details.
475475

476476
:::
477477

@@ -497,7 +497,7 @@ You cannot currently configure a [queues consumer](/queues/reference/how-queues-
497497

498498
:::note
499499

500-
When using Wrangler in the default local development mode, files will be written to local storage instead of the preview or production bucket. Refer to [Local development](/workers/testing/local-development/) for more details.
500+
When using Wrangler in the default local development mode, files will be written to local storage instead of the preview or production bucket. Refer to [Local development](/workers/local-development/) for more details.
501501

502502
:::
503503

src/content/docs/workers/ci-cd/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pcx_content_type: concept
33
title: CI/CD
44
description: Set up continuous integration and continuous deployment for your Workers.
55
sidebar:
6-
order: 8
6+
order: 9
77
---
88

99
You can set up continuous integration and continuous deployment (CI/CD) for your Workers by using either the integrated build system, [Workers Builds](#workers-builds), or using [external providers](#external-cicd) to optimize your development workflow.

src/content/docs/workers/configuration/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pcx_content_type: navigation
33
title: Configuration
44
sidebar:
5-
order: 7
5+
order: 8
66
group:
77
hideIndex: true
88
---

src/content/docs/workers/databases/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pcx_content_type: navigation
33
title: Databases
44
sidebar:
5-
order: 12
5+
order: 13
66
group:
77
hideIndex: true
88
---

src/content/docs/workers/demos.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pcx_content_type: navigation
33
title: Demos and architectures
44
sidebar:
5-
order: 5
5+
order: 6
66

77
---
88

src/content/docs/workers/frameworks/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pcx_content_type: navigation
33
title: Frameworks
44
sidebar:
5-
order: 11
5+
order: 12
66
group:
77
badge: Beta
88
head: []

src/content/docs/workers/glossary.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Glossary
33
pcx_content_type: glossary
44
sidebar:
5-
order: 19
5+
order: 20
66
---
77

88
import { Glossary } from "~/components";

0 commit comments

Comments
 (0)