fix(docs): correctly set the train in link (#3534)
This commit is contained in:
1
.github/scripts/gen-docs.sh
vendored
1
.github/scripts/gen-docs.sh
vendored
@@ -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
|
||||
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user