From a863150c8335ea63a476301f91a161f94cfd0362 Mon Sep 17 00:00:00 2001 From: Mengqi Yu Date: Mon, 9 Nov 2020 17:37:59 -0800 Subject: [PATCH] docs: fix broken links for fn --- site/content/en/concepts/functions/_index.md | 2 +- site/content/en/faq/_index.md | 2 +- .../en/guides/consumer/function/catalog/generators/_index.md | 2 +- .../en/guides/consumer/function/catalog/sinks/_index.md | 2 +- .../en/guides/consumer/function/catalog/sources/_index.md | 2 +- .../guides/consumer/function/catalog/transformers/_index.md | 2 +- .../en/guides/consumer/function/catalog/validators/_index.md | 2 +- site/content/en/guides/producer/functions/_index.md | 4 ++-- site/content/en/guides/producer/functions/container/_index.md | 2 +- site/content/en/guides/producer/functions/golang/_index.md | 4 ++-- site/content/en/reference/fn/sink/_index.md | 2 +- site/content/en/reference/fn/source/_index.md | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/site/content/en/concepts/functions/_index.md b/site/content/en/concepts/functions/_index.md index cdfb8cb925..78eda73173 100644 --- a/site/content/en/concepts/functions/_index.md +++ b/site/content/en/concepts/functions/_index.md @@ -98,7 +98,7 @@ pipeline. Get detailed tutorials on how to use `kpt fn export` from the [architecture influences]: ../architecture/#influences [sources catalog]: ../../guides/consumer/function/sources -[sinks catalog]: ../../guides/consumer/function/sinks +[sinks catalog]: ../../guides/consumer/function/catalog/sinks [spec]: https://github.com/kubernetes-sigs/kustomize/blob/master/cmd/config/docs/api-conventions/functions-spec.md [Export a Workflow]: ../../guides/consumer/function/export/ [function producer docs]: ../../guides/producer/functions/ diff --git a/site/content/en/faq/_index.md b/site/content/en/faq/_index.md index 7a30211d9e..245764ee97 100755 --- a/site/content/en/faq/_index.md +++ b/site/content/en/faq/_index.md @@ -114,7 +114,7 @@ A: [Please reach out!][contact] [declarative application management in kubernetes]: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/declarative-application-management.md [setters]: ../reference/cfg/set/ [functions]: ../reference/fn/run/ -[source functions]: ../guides/consumer/function/sources +[source functions]: ../guides/consumer/function/catalog/sources [Functions User Guide]: ../guides/consumer/function/ [updating]: ../reference/pkg/update/ [gcr.io/kpt-dev/kpt]: https://gcr.io/kpt-dev/kpt diff --git a/site/content/en/guides/consumer/function/catalog/generators/_index.md b/site/content/en/guides/consumer/function/catalog/generators/_index.md index 8fc635b785..4e7257dc69 100644 --- a/site/content/en/guides/consumer/function/catalog/generators/_index.md +++ b/site/content/en/guides/consumer/function/catalog/generators/_index.md @@ -25,4 +25,4 @@ a namespace with organization-mandated config defaults. - Learn more ways of using the kpt fn command from the [reference] doc. -[reference]: ../../../../reference/fn/run/ +[reference]: ../../../../../reference/fn/run/ diff --git a/site/content/en/guides/consumer/function/catalog/sinks/_index.md b/site/content/en/guides/consumer/function/catalog/sinks/_index.md index 9e3b0921b8..6d54c5e5d1 100644 --- a/site/content/en/guides/consumer/function/catalog/sinks/_index.md +++ b/site/content/en/guides/consumer/function/catalog/sinks/_index.md @@ -27,4 +27,4 @@ Instead, the function typically writes configurations to an external system - Learn more ways of using the kpt fn command from the [reference] doc. -[reference]: ../../../../reference/fn/run/ +[reference]: ../../../../../reference/fn/run/ diff --git a/site/content/en/guides/consumer/function/catalog/sources/_index.md b/site/content/en/guides/consumer/function/catalog/sources/_index.md index af6316d016..17ec64fa75 100644 --- a/site/content/en/guides/consumer/function/catalog/sources/_index.md +++ b/site/content/en/guides/consumer/function/catalog/sources/_index.md @@ -29,4 +29,4 @@ from an external system (e.g. reading files from a filesystem). - Learn more ways of using the kpt fn command from the [reference] doc. -[reference]: ../../../../reference/fn/run/ +[reference]: ../../../../../reference/fn/run/ diff --git a/site/content/en/guides/consumer/function/catalog/transformers/_index.md b/site/content/en/guides/consumer/function/catalog/transformers/_index.md index 0fbff13588..03cef77bc8 100644 --- a/site/content/en/guides/consumer/function/catalog/transformers/_index.md +++ b/site/content/en/guides/consumer/function/catalog/transformers/_index.md @@ -29,4 +29,4 @@ the image used in a pod, without adding new resources. - Learn more ways of using the kpt fn command from the [reference] doc. -[reference]: ../../../../reference/fn/run/ +[reference]: ../../../../../reference/fn/run/ diff --git a/site/content/en/guides/consumer/function/catalog/validators/_index.md b/site/content/en/guides/consumer/function/catalog/validators/_index.md index c5db4f6c81..b70590bdc7 100644 --- a/site/content/en/guides/consumer/function/catalog/validators/_index.md +++ b/site/content/en/guides/consumer/function/catalog/validators/_index.md @@ -33,4 +33,4 @@ using a validator function. - Learn more ways of using the kpt fn command from the [reference] doc. -[reference]: ../../../../reference/fn/run/ +[reference]: ../../../../../reference/fn/run/ diff --git a/site/content/en/guides/producer/functions/_index.md b/site/content/en/guides/producer/functions/_index.md index 42505cdca9..f69d0a08c8 100644 --- a/site/content/en/guides/producer/functions/_index.md +++ b/site/content/en/guides/producer/functions/_index.md @@ -166,8 +166,8 @@ results: [Go Fn Lib]: ./golang/ [TS SDK]: ./ts/ [`kpt fn source`]: ../../../reference/fn/source/ -[`helm-template`]: gcr.io/kpt-functions/helm-template/ -[`kpt fn sink`]: ../../../refernce/fn/sink/ +[`helm-template`]: https://gcr.io/kpt-functions/helm-template/ +[`kpt fn sink`]: ../../../reference/fn/sink/ [run functions]: ../../consumer/function/ [functions concepts]: ../../../concepts/functions/ [fn command reference]: ../../../reference/fn/ diff --git a/site/content/en/guides/producer/functions/container/_index.md b/site/content/en/guides/producer/functions/container/_index.md index 8b8ded5271..5b07eeb802 100644 --- a/site/content/en/guides/producer/functions/container/_index.md +++ b/site/content/en/guides/producer/functions/container/_index.md @@ -67,5 +67,5 @@ the example. [kpt-functions-sdk]: https://github.com/GoogleContainerTools/kpt-functions-sdk [go libraries]: ../golang/ [Functions Developer Guide]: ../ -[functions concepts]: ../../../../../concepts/functions/ +[functions concepts]: ../../../../concepts/functions/ [fn command reference]: ../../../../reference/fn/ diff --git a/site/content/en/guides/producer/functions/golang/_index.md b/site/content/en/guides/producer/functions/golang/_index.md index 61bcfeaac9..db0ae5e0dc 100644 --- a/site/content/en/guides/producer/functions/golang/_index.md +++ b/site/content/en/guides/producer/functions/golang/_index.md @@ -351,5 +351,5 @@ cmd := framework.Command(resourceList, func() error { [RNode link]: https://pkg.go.dev/sigs.k8s.io/kustomize/kyaml/yaml/#RNode [Pipe link]: https://pkg.go.dev/sigs.k8s.io/kustomize/kyaml/yaml/#RNode.Pipe [run functions]: ../../../consumer/function/ -[fn command reference]: ../../../reference/fn/ -[functions concepts]: ../../../concepts/functions/ +[fn command reference]: ../../../../reference/fn/ +[functions concepts]: ../../../../concepts/functions/ diff --git a/site/content/en/reference/fn/sink/_index.md b/site/content/en/reference/fn/sink/_index.md index 25dbc7f394..5957cbc52f 100644 --- a/site/content/en/reference/fn/sink/_index.md +++ b/site/content/en/reference/fn/sink/_index.md @@ -48,4 +48,4 @@ DIR: [sink function]: ../../../concepts/functions/#sink-function [functions concepts]: ../../../concepts/functions/ -[catalog]: ../../guides/consumer/function/sinks +[catalog]: ../../../guides/consumer/function/catalog/sinks diff --git a/site/content/en/reference/fn/source/_index.md b/site/content/en/reference/fn/source/_index.md index 0e5bc8c205..624d3ff068 100644 --- a/site/content/en/reference/fn/source/_index.md +++ b/site/content/en/reference/fn/source/_index.md @@ -50,4 +50,4 @@ DIR: [source function]: ../../../concepts/functions/#source-function [functions concepts]: ../../../concepts/functions/ -[catalog]: ../../guides/consumer/function/sources +[catalog]: ../../../guides/consumer/function/catalog/sources