Fix copyright header and common docs copying
This commit is contained in:
@@ -182,11 +182,12 @@ jobs:
|
|||||||
sed -i '1s/^/# License<br>\n\n/' docs/apps/${train}/${chartname}/LICENSE.md || echo "license edit failed, continuing..."
|
sed -i '1s/^/# License<br>\n\n/' docs/apps/${train}/${chartname}/LICENSE.md || echo "license edit failed, continuing..."
|
||||||
fi
|
fi
|
||||||
done
|
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}:"
|
echo "Processed charts for ${train}:"
|
||||||
ls docs/apps/${train}/ || echo "no Apps in train"
|
ls docs/apps/${train}/ || echo "no Apps in train"
|
||||||
done
|
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
|
- name: Cleanup
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{{- define "custom.custom.configuration.header" -}}
|
{{- define "custom.custom.configuration.header" -}}
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "custom.custom.configuration" -}}
|
{{- define "custom.custom.configuration" -}}
|
||||||
{{ template "custom.custom.configuration.header" . }}
|
{{ 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.
|
In the future this page is going to contain an automated list of options available in the installation/edit UI.
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ template "custom.custom.configuration" . }}
|
{{ template "custom.custom.configuration" . }}
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
{{ template "custom.copyright" . }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user