Skip to content

Commit da4c3fb

Browse files
committed
cleanup
1 parent 1ab17b9 commit da4c3fb

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

copy-upstream-docs.sh

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ transform_docs() {
5252

5353
mkdir -p "$target_dir"
5454

55-
# Highlight files that previously needed manual fixes
55+
# Check if this file is in the BROKEN_FILES list
5656
if echo "$BROKEN_FILES" | grep -q "^$target_file$"; then
57-
echo "Processing previously broken file: $target_file"
57+
echo "Skipping broken file: $target_file"
5858
fi
5959

6060
# Transform and copy the file
@@ -67,13 +67,9 @@ transform_docs() {
6767
transform_docs "$UPSTREAM_SITE"
6868
transform_docs "$REFERENCE_DOCS"
6969

70-
if command -v yq >/dev/null 2>&1; then
71-
echo "Converting community YAML files to MDX..."
72-
./convert-community-to-mdx.sh "$DEST_DIR/community/experts"
73-
./convert-community-to-mdx.sh "$DEST_DIR/community/partners"
74-
else
75-
echo "Skipping community YAML conversion because 'yq' was not found in PATH."
76-
fi
70+
echo "Converting community YAML files to MDX..."
71+
./convert-community-to-mdx.sh "$DEST_DIR/community/experts"
72+
./convert-community-to-mdx.sh "$DEST_DIR/community/partners"
7773

7874
echo "Copying community images..."
7975
mkdir -p "$DEST_DIR/community/images"

0 commit comments

Comments
 (0)