From a0ad14ce22883fe6de3b19f8d364c32d8d0a224e Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Tue, 21 Feb 2023 10:34:22 +0100 Subject: [PATCH] change template and docs to have specific oneline descriptions for each api version Signed-off-by: Moritz Wiesinger --- .github/scripts/generate-crd-docs/templates/gv_list.tpl | 2 +- docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md | 2 +- docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md | 2 +- docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md | 2 +- docs/content/en/docs/crd-ref/options/v1alpha1/_index.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/scripts/generate-crd-docs/templates/gv_list.tpl b/.github/scripts/generate-crd-docs/templates/gv_list.tpl index 60afcb210d..3f0492db51 100644 --- a/.github/scripts/generate-crd-docs/templates/gv_list.tpl +++ b/.github/scripts/generate-crd-docs/templates/gv_list.tpl @@ -4,7 +4,7 @@ --- title: {{ $groupVersion.Version }} -description: Reference information about the KLT CRDs +description: Reference information for {{ $groupVersion.GroupVersionString }} weight: 100 hidechildren: false # this flag hides all sub-pages in the sidebar-multicard.html --- diff --git a/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md b/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md index a564705fb2..7ed60c3ccf 100644 --- a/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md +++ b/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md @@ -1,6 +1,6 @@ --- title: v1alpha1 -description: Reference information about the KLT CRDs +description: Reference information for lifecycle.keptn.sh/v1alpha1 weight: 100 hidechildren: false # this flag hides all sub-pages in the sidebar-multicard.html --- diff --git a/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md b/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md index 36d18332fc..4a4f91ecb2 100644 --- a/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md +++ b/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md @@ -1,6 +1,6 @@ --- title: v1alpha2 -description: Reference information about the KLT CRDs +description: Reference information for lifecycle.keptn.sh/v1alpha2 weight: 100 hidechildren: false # this flag hides all sub-pages in the sidebar-multicard.html --- diff --git a/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md b/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md index f6b3071a7e..90c102653a 100644 --- a/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md +++ b/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md @@ -1,6 +1,6 @@ --- title: v1alpha1 -description: Reference information about the KLT CRDs +description: Reference information for metrics.keptn.sh/v1alpha1 weight: 100 hidechildren: false # this flag hides all sub-pages in the sidebar-multicard.html --- diff --git a/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md b/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md index a57851613b..d83f7d055b 100644 --- a/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md +++ b/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md @@ -1,6 +1,6 @@ --- title: v1alpha1 -description: Reference information about the KLT CRDs +description: Reference information for options.keptn.sh/v1alpha1 weight: 100 hidechildren: false # this flag hides all sub-pages in the sidebar-multicard.html ---