Skip to content

Commit b1fe474

Browse files
committed
fixup!
1 parent 2756e3b commit b1fe474

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/vercel-prepare.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ git sparse-checkout set lib doc .
3131
INTRODUCED_IN=$(sed -n 's/^<!--introduced_in=\(.*\)-->$/\1/p' ./doc/api/documentation.md)
3232

3333
{
34-
printf -- '---\nmdx: true\ntype: misc---\n'
34+
printf -- '---\nmdx: true\ntype: misc\n'
35+
if [ -n "$INTRODUCED_IN" ]; then
36+
printf -- 'introduced_in: %s\n' "$INTRODUCED_IN"
37+
fi
38+
printf -- '---\n'
3539
sed \
3640
-e 's|<!-- STABILITY_OVERVIEW_SLOT_BEGIN -->|<DocumentationIndex />|' \
3741
-e '/^<!--.*-->$/d' \

0 commit comments

Comments
 (0)