chore(scripts): more logging

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Stavros Kois
2023-12-31 16:58:52 +02:00
committed by GitHub
parent ed2789ee7b
commit b0d7808b72
+2
View File
@@ -239,7 +239,9 @@ jobs:
for file in website/docs/charts/${train}/${chart}/*.md; do
# Extract the file name and first line from each file
filename=$(basename "${file}")
echo "Found doc file: ${file}"
title=$(cat "${file}" | grep "title: " | sed 's/title: //')
echo "The title is: ${title}"
# Create a markdown link using the file name and title
link="[**${title}**](${filename%.md})"
if [ ${filename} != "index.md" ]; then