fix links

This commit is contained in:
Stavros Kois 2022-12-20 00:17:39 +02:00 committed by GitHub
parent 60b218bc6e
commit 9c11c22a1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ jobs:
title=$(head -n 1 "${file}" | sed 's/# //')
# Create a markdown link using the file name and title
link="[${title}](/${filename})"
link="[${title}](charts/${train}/${chart}/${filename})"
if [ ${filename} != "index.md" ]; then
# Append the link to the index.md file
echo "${link}" >> website/docs/charts/${train}/${chart}/index.md