fix(docs): correctly set the train in link (#3534)

This commit is contained in:
Stavros Kois
2022-08-22 19:46:38 +03:00
committed by GitHub
parent e0cdea6d08
commit a7652a487b
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -93,6 +93,7 @@ generate_docs() {
--output-file="README.md" \ --output-file="README.md" \
--template-files="/__w/charts/charts/templates/docs/README.md.gotmpl" \ --template-files="/__w/charts/charts/templates/docs/README.md.gotmpl" \
--chart-search-root="${chart}" --chart-search-root="${chart}"
sed -i "s/TRAINPLACEHOLDER/${train}/" "${chart}/README.md"
} }
export -f generate_docs export -f generate_docs
+1 -1
View File
@@ -14,7 +14,7 @@ https://charts.truecharts.org
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE. TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
This readme is just an automatically generated general guide on installing our Helm Charts and Apps. This readme is just an automatically generated general guide on installing our Helm Charts and Apps.
For more information, please click here: [{{ template "chart.name" . }}](https://truecharts.org/docs/charts/stable/{{ template "chart.name" . }}) For more information, please click here: [{{ template "chart.name" . }}](https://truecharts.org/docs/charts/TRAINPLACEHOLDER/{{ template "chart.name" . }})
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)** **This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
{{- end -}} {{- end -}}
+1
View File
@@ -528,6 +528,7 @@ generate_docs() {
--template-files="/__w/apps/apps/templates/docs/helm-values.md.gotmpl" \ --template-files="/__w/apps/apps/templates/docs/helm-values.md.gotmpl" \
--chart-search-root="${chart}" --chart-search-root="${chart}"
fi fi
sed -i "s/TRAINPLACEHOLDER/${train}/" "${chart}/README.md"
fi fi
} }
export -f generate_docs export -f generate_docs