chore(docs): also account for mdx
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user