From 5c1a022a3c73676fb14ab6cec3c4e7df8673b249 Mon Sep 17 00:00:00 2001 From: Jeong Jinwoo Date: Mon, 4 Sep 2023 23:51:24 +0900 Subject: [PATCH] docs(api): fix broken hyperlinks --- site/content/en/docs/Reference/API/bases.md | 2 +- site/content/en/docs/Reference/API/commonLabels.md | 2 +- site/content/en/docs/Reference/API/patchesStrategicMerge.md | 2 +- site/content/en/docs/Reference/API/patchesjson6902.md | 2 +- site/content/en/docs/Reference/API/secretGenerator.md | 2 +- site/content/en/docs/Reference/API/vars.md | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/site/content/en/docs/Reference/API/bases.md b/site/content/en/docs/Reference/API/bases.md index 519e29469a..aecb477c24 100644 --- a/site/content/en/docs/Reference/API/bases.md +++ b/site/content/en/docs/Reference/API/bases.md @@ -18,7 +18,7 @@ kustomize CLI, and removal itself will happen in a future major version bump. You can run `kustomize edit fix` to automatically convert `bases` to `resources`. {{% /pageinfo %}} -Move entries into the [resources](/references/kustomize/kustomization/resource) +Move entries into the [resources](/docs/reference/api/resources) field. This allows bases - which are still a [central concept](/references/kustomize/glossary#base) - to be ordered relative to other input resources. diff --git a/site/content/en/docs/Reference/API/commonLabels.md b/site/content/en/docs/Reference/API/commonLabels.md index 3c57b95809..20a907eb19 100644 --- a/site/content/en/docs/Reference/API/commonLabels.md +++ b/site/content/en/docs/Reference/API/commonLabels.md @@ -7,7 +7,7 @@ description: > Add labels and selectors to add all resources. --- -[labels]: https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/labels/ +[labels]: /docs/reference/api/labels/ Add labels and selectors to all resources. If the label key already is present on the resource, the value will be overridden. diff --git a/site/content/en/docs/Reference/API/patchesStrategicMerge.md b/site/content/en/docs/Reference/API/patchesStrategicMerge.md index d76d30456c..51ab157e90 100644 --- a/site/content/en/docs/Reference/API/patchesStrategicMerge.md +++ b/site/content/en/docs/Reference/API/patchesStrategicMerge.md @@ -16,7 +16,7 @@ two releases between deprecation and removal of Kustomization v1beta1 support fr kustomize CLI, and removal itself will happen in a future major version bump. Please move your `patchesStrategicMerge` into -the [patches](/references/kustomize/kustomization/patches) field. This field supports patchesStrategicMerge, +the [patches](/docs/reference/api/patches) field. This field supports patchesStrategicMerge, but with slightly different syntax. You can run `kustomize edit fix` to automatically convert `patchesStrategicMerge` to `patches`. {{% /pageinfo %}} diff --git a/site/content/en/docs/Reference/API/patchesjson6902.md b/site/content/en/docs/Reference/API/patchesjson6902.md index 21e61074b3..7c4682ef43 100644 --- a/site/content/en/docs/Reference/API/patchesjson6902.md +++ b/site/content/en/docs/Reference/API/patchesjson6902.md @@ -16,7 +16,7 @@ two releases between deprecation and removal of Kustomization v1beta1 support fr kustomize CLI, and removal itself will happen in a future major version bump. Please move your `patchesJson6902` into -the [patches](/references/kustomize/kustomization/patches) field. This field supports patchesJson6902, +the [patches](/docs/reference/api/patches) field. This field supports patchesJson6902, but with slightly different syntax. You can run `kustomize edit fix` to automatically convert `patchesJson6902` to `patches`. {{% /pageinfo %}} diff --git a/site/content/en/docs/Reference/API/secretGenerator.md b/site/content/en/docs/Reference/API/secretGenerator.md index 8b0256fe8e..8155776e1c 100644 --- a/site/content/en/docs/Reference/API/secretGenerator.md +++ b/site/content/en/docs/Reference/API/secretGenerator.md @@ -9,7 +9,7 @@ description: > Each entry in the argument list results in the creation of one Secret resource (it's a generator of N secrets). -This works like the [configMapGenerator](/references/kustomize/kustomization/configmapgenerator). +This works like the [configMapGenerator](/docs/reference/api/configmapgenerator). ```yaml apiVersion: kustomize.config.k8s.io/v1beta1 diff --git a/site/content/en/docs/Reference/API/vars.md b/site/content/en/docs/Reference/API/vars.md index 20760727e1..3c8edc4289 100644 --- a/site/content/en/docs/Reference/API/vars.md +++ b/site/content/en/docs/Reference/API/vars.md @@ -7,7 +7,7 @@ description: > Substitute name references. --- -[replacements]: https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/replacements/ +[replacements]: /docs/reference/api/replacements/ {{% pageinfo color="warning" %}} The `vars` field was deprecated in v5.0.0. This field will never be removed from the @@ -18,7 +18,7 @@ two releases between deprecation and removal of Kustomization v1beta1 support fr kustomize CLI, and removal itself will happen in a future major version bump. Please try to migrate to the -the [replacements](/references/kustomize/kustomization/replacements) field. If you are +the [replacements](/docs/reference/api/replacements) field. If you are unable to restructure your configuration to use replacements instead of vars, please ask for help in slack or file an issue for guidance.