more fixes

This commit is contained in:
Stavros kois
2024-05-12 22:01:40 +03:00
parent b49d68863f
commit f56cec4b47
2 changed files with 5 additions and 7 deletions
+3 -5
View File
@@ -5,11 +5,9 @@
make_sure_structure_is_there() { make_sure_structure_is_there() {
local train="$1" local train="$1"
local chart="$2" local chart="$2"
echo "Checking if website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md exists"
if [[ ! -f "website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md" ]]; then mkdir -p "website/src/content/docs/charts/${train}/${chart}" || echo "chart path already exists, continuing..."
echo "changelog not found, starting with empty changelog..."
touch "website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md" touch "website/src/content/docs/charts/${train}/${chart}/CHANGELOG.md"
fi
} }
keep_safe_docs() { keep_safe_docs() {
@@ -143,7 +141,7 @@ process_index() {
continue continue
fi fi
title=$(yq '.title' ${file} | head -n 1) title=$(yq --front-matter=process '.title' ${file} | head -n 1)
echo "The title is: ${title}" echo "The title is: ${title}"
echo "Generating markdown links" echo "Generating markdown links"
+1 -1
View File
@@ -33,4 +33,4 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/pingvin-share - https://github.com/truecharts/charts/tree/master/charts/incubator/pingvin-share
- https://hub.docker.com/r/stonith404/pingvin-share - https://hub.docker.com/r/stonith404/pingvin-share
type: application type: application
version: 0.0.6 version: 0.0.7