docs: Remove Preview callouts for stable release (#50119)

This PR removes Preview callouts from documentation for features that
are now in Stable.

Features documented with Preview callouts are now included in the stable
release.

Generated by script/docs-strip-preview-callouts

Release Notes:

- N/A
This commit is contained in:
morgankrey authored and GitHub committed 2026-02-25 14:16:54 -06:00
1 parent e147a9a85d
commit 6de6af4fee
12 files changed
+11 -39

No files matched your search

+11 -7
View File
@@ -132,8 +132,8 @@ if [[ "$DRY_RUN" == "true" ]]; then
exit 0
fi
# Ensure clean working state
if [[ -n "$(git status --porcelain)" ]]; then
# Ensure clean working state (ignore untracked files with grep -v '??')
if [[ -n "$(git status --porcelain | grep -v '^??' || true)" ]]; then
error "Working directory has uncommitted changes. Please commit or stash first."
fi
@@ -221,9 +221,14 @@ EOF
cat "$SUGGESTIONS_FILE" >> "$APPLY_PROMPT_FILE"
log "Running Droid auto-apply with model: $MODEL"
droid exec -m "$MODEL" -f "$APPLY_PROMPT_FILE" > "$APPLY_SUMMARY_FILE"
if ! droid exec -m "$MODEL" -f "$APPLY_PROMPT_FILE" --auto high > "$APPLY_SUMMARY_FILE" 2>&1; then
echo "Droid exec output:"
cat "$APPLY_SUMMARY_FILE"
error "Droid exec failed. See output above."
fi
log "Droid completed, checking results..."
if [[ -n "$(git status --porcelain | grep -vE '^.. docs/' || true)" ]]; then
if [[ -n "$(git status --porcelain | grep -v '^??' | grep -vE '^.. docs/' || true)" ]]; then
error "Auto-apply modified non-doc files. Revert and re-run."
fi
@@ -232,7 +237,7 @@ if [[ -z "$(git status --porcelain docs/ | grep '^.. docs/src/' || true)" ]]; th
fi
log "Running docs formatter"
./script/prettier
./script/prettier --write
if [[ -z "$(git status --porcelain docs/ | grep '^.. docs/src/' || true)" ]]; then
error "No docs/src changes remain after formatting; aborting PR creation."
@@ -324,8 +329,7 @@ log "Creating PR..."
PR_URL=$(gh pr create \
--draft \
--title "docs: auto-apply preview release suggestions" \
--body-file "$PR_BODY_FILE" \
--label "documentation")
--body-file "$PR_BODY_FILE")
echo ""
echo -e "${GREEN}PR created:${NC} $PR_URL"