From 85b84b7af01ce996db5caec7fc4b9719bbbe71d2 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Tue, 31 Aug 2021 12:21:54 +0200 Subject: [PATCH] Fix copyright header and common docs copying --- .github/workflows/housekeeping.yaml | 5 +++-- templates/docs/CONFIG.md.gotmpl | 5 +---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/housekeeping.yaml b/.github/workflows/housekeeping.yaml index f8a1b1d0358..ec7817a1f62 100644 --- a/.github/workflows/housekeeping.yaml +++ b/.github/workflows/housekeeping.yaml @@ -182,11 +182,12 @@ jobs: sed -i '1s/^/# License
\n\n/' docs/apps/${train}/${chartname}/LICENSE.md || echo "license edit failed, continuing..." fi done - mkdir -p docs/apps/common || echo "app path already exists, continuing..." - yes | cp -rf charts/library/common/README.md docs/apps/common/index.md || echo "common readme copy failed, continuing..." echo "Processed charts for ${train}:" ls docs/apps/${train}/ || echo "no Apps in train" done + mkdir -p docs/apps/common || echo "common docs path already exists, continuing..." + yes | cp -rf charts/library/common/README.md docs/apps/common/index.md || echo "common readme copy failed, continuing..." + yes | cp -rf charts/library/common/helm-values.md docs/apps/common/helm-values.md || echo "common readme copy failed, continuing..." - name: Cleanup run: | diff --git a/templates/docs/CONFIG.md.gotmpl b/templates/docs/CONFIG.md.gotmpl index 69dafec3c13..ec721b794a0 100644 --- a/templates/docs/CONFIG.md.gotmpl +++ b/templates/docs/CONFIG.md.gotmpl @@ -1,6 +1,7 @@ {{- define "custom.custom.configuration.header" -}} # Configuration Options {{- end -}} + {{- define "custom.custom.configuration" -}} {{ template "custom.custom.configuration.header" . }} @@ -12,7 +13,3 @@ https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/ In the future this page is going to contain an automated list of options available in the installation/edit UI. {{- end -}} {{ template "custom.custom.configuration" . }} - ---- - -{{ template "custom.copyright" . }}