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

View File

@@ -93,6 +93,7 @@ generate_docs() {
--output-file="README.md" \
--template-files="/__w/charts/charts/templates/docs/README.md.gotmpl" \
--chart-search-root="${chart}"
sed -i "s/TRAINPLACEHOLDER/${train}/" "${chart}/README.md"
}
export -f generate_docs

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.
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)**
{{- end -}}

View File

@@ -528,6 +528,7 @@ generate_docs() {
--template-files="/__w/apps/apps/templates/docs/helm-values.md.gotmpl" \
--chart-search-root="${chart}"
fi
sed -i "s/TRAINPLACEHOLDER/${train}/" "${chart}/README.md"
fi
}
export -f generate_docs