chore(docs): also account for mdx

This commit is contained in:
Stavros Kois
2024-05-01 22:16:13 +03:00
committed by GitHub
parent afc5e7eafa
commit 7bd9c5b257
+1 -1
View File
@@ -218,7 +218,7 @@ jobs:
echo "" >> website/src/content/docs/charts/${train}/${chart}/index.md
echo "Iterating over all files in the docs directory..."
# Iterate over all files in the docs directory
for file in website/src/content/docs/charts/${train}/${chart}/*.md; do
for file in website/src/content/docs/charts/${train}/${chart}/*.{md,mdx}; do
# Extract the file name and first line from each file
filename=$(basename "${file}")
echo "Found doc file: ${file}"