Fix copyright header and common docs copying

This commit is contained in:
kjeld Schouten-Lebbing
2021-08-31 12:21:54 +02:00
parent 80c432959b
commit 85b84b7af0
2 changed files with 4 additions and 6 deletions

View File

@@ -182,11 +182,12 @@ jobs:
sed -i '1s/^/# License<br>\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: |

View File

@@ -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" . }}