diff --git a/public/_redirects b/public/_redirects index 640ee9791be4a2..a3921786d11f7b 100644 --- a/public/_redirects +++ b/public/_redirects @@ -1649,13 +1649,15 @@ /workflows/reference/storage-options/ /workers/platform/storage-options/ 301 # workers KV +/kv/glossary/ /kv/reference/glossary/ 301 /kv/platform/environments/ /kv/reference/environments/ 301 -/kv/platform/kv-commands/ /kv/reference/kv-commands/ 301 +/kv/platform/kv-commands/ /kv/kv-commands/ 301 /kv/learning/ /kv/reference/ 301 /kv/learning/how-kv-works/ /kv/concepts/how-kv-works/ 301 /kv/learning/kv-bindings/ /kv/concepts/kv-bindings/ 301 /kv/learning/kv-namespaces/ /kv/concepts/kv-namespaces/ 301 /kv/reference/how-kv-works/ /kv/concepts/how-kv-works/ 301 +/kv/reference/kv-commands/ /kv/kv-commands/ 301 /kv/reference/kv-bindings/ /kv/concepts/kv-bindings/ 301 /kv/reference/kv-namespaces/ /kv/concepts/kv-namespaces/ 301 /kv/tutorials/workers-kv-from-rust/ /workers/tutorials/workers-kv-from-rust/ 301 diff --git a/src/content/docs/kv/api/delete-key-value-pairs.mdx b/src/content/docs/kv/api/delete-key-value-pairs.mdx index f246494c2c145c..bfe2516da44c1e 100644 --- a/src/content/docs/kv/api/delete-key-value-pairs.mdx +++ b/src/content/docs/kv/api/delete-key-value-pairs.mdx @@ -73,4 +73,4 @@ Delete more than one key-value pair at a time with Wrangler or [via the REST API The bulk REST API can accept up to 10,000 KV pairs at once. Bulk writes are not supported using the [KV binding](/kv/concepts/kv-bindings/). ## Other methods to access KV -You can also [delete key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#kv-namespace-delete) or [with the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/delete/). +You can also [delete key-value pairs from the command line with Wrangler](/kv/kv-commands/#kv-namespace-delete) or [with the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/delete/). diff --git a/src/content/docs/kv/api/list-keys.mdx b/src/content/docs/kv/api/list-keys.mdx index eb912d649bba81..cdb01759cc73d2 100644 --- a/src/content/docs/kv/api/list-keys.mdx +++ b/src/content/docs/kv/api/list-keys.mdx @@ -159,4 +159,4 @@ await NAMESPACE.put(key, "", { ``` ## Other methods to access KV -You can also [list keys on the command line with Wrangler](/kv/reference/kv-commands/#kv-namespace-list) or [with the REST API](/api/resources/kv/subresources/namespaces/subresources/keys/methods/list/). \ No newline at end of file +You can also [list keys on the command line with Wrangler](/kv/kv-commands/#kv-namespace-list) or [with the REST API](/api/resources/kv/subresources/namespaces/subresources/keys/methods/list/). \ No newline at end of file diff --git a/src/content/docs/kv/api/read-key-value-pairs.mdx b/src/content/docs/kv/api/read-key-value-pairs.mdx index 7f51b1e9faa542..79b59f78f173e1 100644 --- a/src/content/docs/kv/api/read-key-value-pairs.mdx +++ b/src/content/docs/kv/api/read-key-value-pairs.mdx @@ -166,5 +166,5 @@ The effective `cacheTtl` of an already cached item can be reduced by getting it ## Other methods to access KV -You can [read key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#kv-key-get) and [from the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/get/). +You can [read key-value pairs from the command line with Wrangler](/kv/kv-commands/#kv-key-get) and [from the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/get/). diff --git a/src/content/docs/kv/api/write-key-value-pairs.mdx b/src/content/docs/kv/api/write-key-value-pairs.mdx index 1554ed53f9cd54..f5533e191d7972 100644 --- a/src/content/docs/kv/api/write-key-value-pairs.mdx +++ b/src/content/docs/kv/api/write-key-value-pairs.mdx @@ -270,4 +270,4 @@ async function retryWithBackoff( ## Other methods to access KV -You can also [write key-value pairs from the command line with Wrangler](/kv/reference/kv-commands/#kv-namespace-create) and [write data via the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/update/). +You can also [write key-value pairs from the command line with Wrangler](/kv/kv-commands/#kv-namespace-create) and [write data via the REST API](/api/resources/kv/subresources/namespaces/subresources/values/methods/update/). diff --git a/src/content/docs/kv/demos.mdx b/src/content/docs/kv/demos.mdx index d9218868cc49d5..39368df7cbcb63 100644 --- a/src/content/docs/kv/demos.mdx +++ b/src/content/docs/kv/demos.mdx @@ -2,7 +2,7 @@ pcx_content_type: navigation title: Demos and architectures sidebar: - order: 5 + order: 7 --- diff --git a/src/content/docs/kv/examples/index.mdx b/src/content/docs/kv/examples/index.mdx index e310442b84c800..a5eccdfcd6262f 100644 --- a/src/content/docs/kv/examples/index.mdx +++ b/src/content/docs/kv/examples/index.mdx @@ -4,7 +4,7 @@ hideChildren: false pcx_content_type: navigation title: Examples sidebar: - order: 4 + order: 6 group: hideIndex: true --- diff --git a/src/content/docs/kv/get-started.mdx b/src/content/docs/kv/get-started.mdx index 4fed2fe922e065..268438498b5708 100644 --- a/src/content/docs/kv/get-started.mdx +++ b/src/content/docs/kv/get-started.mdx @@ -295,7 +295,7 @@ Exactly **one** of `--binding` or `--namespace-id` is required. To view the value directly within the terminal, add `--text` ::: -Refer to the [`kv bulk` documentation](/kv/reference/kv-commands/#kv-bulk) to write a file of multiple key-value pairs to a given KV namespace. +Refer to the [`kv bulk` documentation](/kv/kv-commands/#kv-bulk) to write a file of multiple key-value pairs to a given KV namespace. @@ -470,4 +470,4 @@ If you have any feature requests or notice any bugs, share your feedback directl - Learn more about the [KV API](/kv/api/). - Understand how to use [Environments](/kv/reference/environments/) with Workers KV. -- Read the Wrangler [`kv` command documentation](/kv/reference/kv-commands/). +- Read the Wrangler [`kv` command documentation](/kv/kv-commands/). diff --git a/src/content/docs/kv/reference/kv-commands.mdx b/src/content/docs/kv/kv-commands.mdx similarity index 95% rename from src/content/docs/kv/reference/kv-commands.mdx rename to src/content/docs/kv/kv-commands.mdx index 0cbd0cc3f3805e..432ea28ee16dad 100644 --- a/src/content/docs/kv/reference/kv-commands.mdx +++ b/src/content/docs/kv/kv-commands.mdx @@ -1,8 +1,8 @@ --- pcx_content_type: reference -title: Wrangler KV commands +title: KV Wrangler commands sidebar: - order: 2 + order: 5 --- import {Render} from "~/components" diff --git a/src/content/docs/kv/observability/index.mdx b/src/content/docs/kv/observability/index.mdx index 975983f4ccb19c..c658a5749fe2aa 100644 --- a/src/content/docs/kv/observability/index.mdx +++ b/src/content/docs/kv/observability/index.mdx @@ -2,7 +2,7 @@ pcx_content_type: navigation title: Observability sidebar: - order: 5 + order: 7 group: hideIndex: true diff --git a/src/content/docs/kv/platform/index.mdx b/src/content/docs/kv/platform/index.mdx index b42ed2072e977a..fe7a16eca104db 100644 --- a/src/content/docs/kv/platform/index.mdx +++ b/src/content/docs/kv/platform/index.mdx @@ -2,7 +2,7 @@ pcx_content_type: navigation title: Platform sidebar: - order: 5 + order: 8 group: hideIndex: true --- diff --git a/src/content/docs/kv/reference/environments.mdx b/src/content/docs/kv/reference/environments.mdx index 8eef01fdb0e69c..adb4dea93cce3b 100644 --- a/src/content/docs/kv/reference/environments.mdx +++ b/src/content/docs/kv/reference/environments.mdx @@ -45,7 +45,7 @@ wrangler kv key put --namespace-id= "" "" :::caution -Since version 3.60.0, Wrangler KV commands support the `kv ...` syntax. If you are using versions of Wrangler below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/reference/kv-commands/) for KV page. +Since version 3.60.0, Wrangler KV commands support the `kv ...` syntax. If you are using versions of Wrangler below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/kv-commands/) for KV page. ::: Most `kv` subcommands also allow you to specify an environment with the optional `--env` flag. diff --git a/src/content/docs/kv/glossary.mdx b/src/content/docs/kv/reference/glossary.mdx similarity index 94% rename from src/content/docs/kv/glossary.mdx rename to src/content/docs/kv/reference/glossary.mdx index 43a464f80e7363..32d6a34b8b7e8c 100644 --- a/src/content/docs/kv/glossary.mdx +++ b/src/content/docs/kv/reference/glossary.mdx @@ -2,7 +2,7 @@ title: Glossary pcx_content_type: glossary sidebar: - order: 7 + order: 10 --- diff --git a/src/content/docs/kv/reference/index.mdx b/src/content/docs/kv/reference/index.mdx index f6ae4011eba9cc..3daad7052a171b 100644 --- a/src/content/docs/kv/reference/index.mdx +++ b/src/content/docs/kv/reference/index.mdx @@ -2,7 +2,7 @@ pcx_content_type: navigation title: Reference sidebar: - order: 6 + order: 9 group: hideIndex: true --- diff --git a/src/content/docs/kv/tutorials/index.mdx b/src/content/docs/kv/tutorials/index.mdx index 8c6d1ad13cc7c5..84c4f4b92f59d4 100644 --- a/src/content/docs/kv/tutorials/index.mdx +++ b/src/content/docs/kv/tutorials/index.mdx @@ -3,7 +3,7 @@ title: Tutorials pcx_content_type: navigation hideChildren: true sidebar: - order: 4 + order: 6 --- diff --git a/src/content/docs/kv/workers-kv-api.mdx b/src/content/docs/kv/workers-kv-api.mdx index fe2d97067eeaae..675f3e254a5c48 100644 --- a/src/content/docs/kv/workers-kv-api.mdx +++ b/src/content/docs/kv/workers-kv-api.mdx @@ -3,6 +3,6 @@ pcx_content_type: navigation title: KV REST API external_link: /api/resources/kv/subresources/namespaces/methods/list/ sidebar: - order: 8 + order: 4 --- diff --git a/src/content/partials/workers/wrangler-commands/kv.mdx b/src/content/partials/workers/wrangler-commands/kv.mdx index b3d486ba070df1..d2fa23804987cd 100644 --- a/src/content/partials/workers/wrangler-commands/kv.mdx +++ b/src/content/partials/workers/wrangler-commands/kv.mdx @@ -15,7 +15,7 @@ The `kv ...` commands allow you to manage your Workers KV resources in the Cloud :::caution -Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/reference/kv-commands/#deprecations) for KV page. +Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/kv-commands/#deprecations) for KV page. ::: @@ -155,7 +155,7 @@ The `kv ...` commands allow you to manage your Workers KV resources in the Cloud :::caution -Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/reference/kv-commands/) for KV page. +Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/kv-commands/) for KV page. ::: @@ -380,7 +380,7 @@ The `kv ...` commands allow you to manage your Workers KV resources in the Cloud :::caution -Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/reference/kv-commands/) for KV page. +Since version 3.60.0, Wrangler supports the `kv ...` syntax. If you are using versions below 3.60.0, the command follows the `kv:...` syntax. Learn more about the deprecation of the `kv:...` syntax in the [Wrangler commands](/kv/kv-commands/) for KV page. :::