Improve links in readme/docs a bit

This commit is contained in:
Kjeld Schouten
2024-05-25 12:30:16 +02:00
parent df12568a69
commit a9f7b4d7db
2 changed files with 13 additions and 9 deletions

View File

@@ -161,9 +161,11 @@ process_index() {
echo "The link is: ${link}"
echo "- ${link}" >>${index_path}
done
echo "" >>${index_path}
echo -e "## Readme Content\n" >>website/src/content/docs/charts/${train}/${chart}/index.md
echo "" >>${index_path}
echo "---" >>${index_path}
echo "" >>${index_path}
echo -e "## Readme\n" >>website/src/content/docs/charts/${train}/${chart}/index.md
tail -n +4 "charts/${train}/${chart}/README.md" >>website/src/content/docs/charts/${train}/${chart}/readmetmp.md
sed -i 's/##/###/' "website/src/content/docs/charts/${train}/${chart}/readmetmp.md"
cat "website/src/content/docs/charts/${train}/${chart}/readmetmp.md" >>"website/src/content/docs/charts/${train}/${chart}/index.md"