From 646ec5e866f68419614d6d91876b98b3e5e12b9f Mon Sep 17 00:00:00 2001 From: morgankrey Date: Wed, 25 Feb 2026 14:16:54 -0600 Subject: [PATCH] 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 --- docs/src/ai/edit-prediction.md | 2 -- docs/src/finding-navigating.md | 2 -- docs/src/git.md | 2 -- docs/src/globs.md | 2 -- docs/src/languages/json.md | 2 -- docs/src/languages/yaml.md | 2 -- docs/src/reference/all-settings.md | 6 ------ docs/src/reference/cli.md | 2 -- docs/src/repl.md | 4 ---- docs/src/tasks.md | 4 ---- docs/src/vim.md | 4 ---- script/docs-suggest-publish | 18 +++++++++++------- 12 files changed, 11 insertions(+), 39 deletions(-) diff --git a/docs/src/ai/edit-prediction.md b/docs/src/ai/edit-prediction.md index 56b1c1260ec98bc82de337ac492b1b4aa40723d8..3d0f8c5141a40daa66fc3689deb2d0363acf273a 100644 --- a/docs/src/ai/edit-prediction.md +++ b/docs/src/ai/edit-prediction.md @@ -301,8 +301,6 @@ Edit Prediction also works with other providers. ### GitHub Copilot {#github-copilot} -> **Changed in Preview (v0.225).** See [release notes](/releases#0.225). - To use GitHub Copilot as your provider, set this in your settings file ([how to edit](../configuring-zed.md#settings-files)): ```json [settings] diff --git a/docs/src/finding-navigating.md b/docs/src/finding-navigating.md index b5f6e3fff774281d699276449c11602df543a021..f1d3536f8c909f18240f83eac6f4309159b764e1 100644 --- a/docs/src/finding-navigating.md +++ b/docs/src/finding-navigating.md @@ -19,8 +19,6 @@ Open any file in your project with {#kb file_finder::Toggle}. Type part of the f ## Project Search -> **Changed in Preview (v0.225).** See [release notes](/releases#0.225). - Search across all files with {#kb pane::DeploySearch}. Start typing in the search field to begin searching—results appear as you type. Results appear in a [multibuffer](./multibuffers.md), letting you edit matches in place. diff --git a/docs/src/git.md b/docs/src/git.md index 5e46dfc322a21dca186dd08389fbf6f72a777288..b33aa0690cbad99f792729dd780ab03716d0dc4c 100644 --- a/docs/src/git.md +++ b/docs/src/git.md @@ -72,8 +72,6 @@ To disable word diff for specific languages only, add this to your settings.json ### Diff View Styles -> **Changed in Preview (v0.225).** See [release notes](/releases#0.225). - Zed displays diffs in two modes: **split** (side-by-side comparison) or **unified** (inline changes). Split view is the default. #### Changing the diff view diff --git a/docs/src/globs.md b/docs/src/globs.md index 26ecf51da8c0420fb65428eb296887b603a99eb5..f1fb584ee568d2e7393539ec3d74b5020c483aaf 100644 --- a/docs/src/globs.md +++ b/docs/src/globs.md @@ -24,8 +24,6 @@ A glob "pattern" is used to match a file name or complete file path. For example ### Multiple Patterns -> **Changed in Preview (v0.225).** See [release notes](/releases#0.225). - You can specify multiple glob patterns in Project Search filters by separating them with commas. When using comma-separated patterns, Zed correctly handles braces within individual patterns: - `*.ts, *.tsx` — Match TypeScript and TSX files diff --git a/docs/src/languages/json.md b/docs/src/languages/json.md index 253669b2fca3a5007e8ea748a8602d85575b24ce..41644a8b0556c3a21f1c680a2fccb8c901a580cc 100644 --- a/docs/src/languages/json.md +++ b/docs/src/languages/json.md @@ -54,8 +54,6 @@ For example to for a `.luarc.json` for use with [lua-language-server](https://gi ### Schema Specification via Settings -> **Preview:** This feature is available in Zed Preview. It will be included in the next Stable release. - You can associate JSON Schemas with file paths using relative paths in your language server settings. Zed resolves paths relative to your project root: ```json [settings] diff --git a/docs/src/languages/yaml.md b/docs/src/languages/yaml.md index 907a07cc4366a29e7481aa5d927de8887ec84e96..b82e14d64bd20f861d505b71f88b73fc4dfdf56f 100644 --- a/docs/src/languages/yaml.md +++ b/docs/src/languages/yaml.md @@ -12,8 +12,6 @@ YAML support is available natively in Zed. ## Configuration -> **Preview:** This feature is available in Zed Preview. It will be included in the next Stable release. - You can configure various [yaml-language-server settings](https://github.com/redhat-developer/yaml-language-server?tab=readme-ov-file#language-server-settings) by adding them to your Zed settings.json in a `yaml-language-server` block under the `lsp` key. You can configure custom YAML schemas using relative paths. Zed resolves paths relative to your project root: diff --git a/docs/src/reference/all-settings.md b/docs/src/reference/all-settings.md index 0211114aee3ce95d63621a2702677290bd2c575b..23b59f0b91002c0a920df0df8d61088652281735 100644 --- a/docs/src/reference/all-settings.md +++ b/docs/src/reference/all-settings.md @@ -519,8 +519,6 @@ Note: Dirty files (files with unsaved changes) will not be automatically closed - `"unified"`: Show changes inline with added and deleted lines stacked vertically - `"split"`: Display old and new versions side by side in separate panes (default) -> **Changed in Preview (v0.225).** Values renamed from `"stacked"`/`"side_by_side"` to `"unified"`/`"split"`. - See [Git documentation](../git.md#diff-view-styles) for more details. ## Disable AI @@ -2774,8 +2772,6 @@ These values take in the same options as the root-level settings with the same n ### Document Symbols -> **Preview:** This feature is available in Zed Preview. It will be included in the next Stable release. - - Description: Controls the source of document symbols used for outlines and breadcrumbs. - Setting: `document_symbols` - Default: `off` @@ -5140,8 +5136,6 @@ See the [debugger page](../debugger.md) for more information about debugging sup ## Git Worktree Directory -> **Preview:** This feature is available in Zed Preview. It will be included in the next Stable release. - - Description: Directory where git worktrees are created, relative to the repository working directory. - Setting: `git.worktree_directory` - Default: `"../worktrees"` diff --git a/docs/src/reference/cli.md b/docs/src/reference/cli.md index b7c4fafd0b8b30fc64a59a1871a7698b0572fca3..788e287c3abe1f1fe752e00b938de477bcf9d78b 100644 --- a/docs/src/reference/cli.md +++ b/docs/src/reference/cli.md @@ -71,8 +71,6 @@ zed -n ~/projects/myproject ### `-a`, `--add` -> **Changed in Preview (v0.225).** See [release notes](/releases#0.225). - Add paths to the currently focused workspace instead of opening a new window. When multiple workspace windows are open, files open in the focused window: ```sh diff --git a/docs/src/repl.md b/docs/src/repl.md index f1cc0ef08ae384c280a3eaaf3d2de0bcfd5c7395..2e782cb0c14e17cd0ce35dec264d4173a46d404f 100644 --- a/docs/src/repl.md +++ b/docs/src/repl.md @@ -151,8 +151,6 @@ TBD: Improve Julia REPL instructions ## Changing which kernel is used per language {#changing-kernels} -> **Preview:** This feature is available in Zed Preview. It will be included in the next Stable release. - Zed automatically detects available kernels and organizes them in the kernel picker: - **Recommended**: The Python environment matching your active toolchain (if detected) @@ -193,8 +191,6 @@ To configure a different default kernel for a language, you can assign a kernel ## Interactive Input -> **Preview:** This feature is available in Zed Preview. It will be included in the next Stable release. - When code execution requires user input (such as Python's `input()` function), the REPL displays an input prompt below the cell output. Type your response in the text field and press `Enter` to submit. The kernel receives your input and continues execution. diff --git a/docs/src/tasks.md b/docs/src/tasks.md index 9e0e38690096d674fc84d968c90091761ae43082..2d8afdeefa19485433374b50cfba7f9fa3475f58 100644 --- a/docs/src/tasks.md +++ b/docs/src/tasks.md @@ -249,8 +249,6 @@ When you have a task definition that is bound to the runnable, you can quickly r ## Running Bash Scripts -> **Preview:** This feature is available in Zed Preview. It will be included in the next Stable release. - You can run bash scripts directly from Zed. When you open a `.sh` or `.bash` file, Zed automatically detects the script as runnable and makes it available in the task picker. To run a bash script: @@ -276,8 +274,6 @@ If you need to pass arguments or customize the execution environment, add a task ## Shell Initialization -> **Changed in Preview (v0.225).** See [release notes](/releases#0.225). - When Zed runs a task, it launches the command in a login shell. This ensures your shell's initialization files (`.bash_profile`, `.zshrc`, etc.) are sourced before the task executes. This behavior gives tasks access to the same environment variables, aliases, and PATH modifications you've configured in your shell profile. If a task fails to find a command that works in your terminal, verify your shell configuration files are properly set up. diff --git a/docs/src/vim.md b/docs/src/vim.md index ce6ed57b5c61f7d39ab786ec8fd91574cd5cf6f6..1798f16a93244f2694b30ffa70119da1e4498fdc 100644 --- a/docs/src/vim.md +++ b/docs/src/vim.md @@ -248,10 +248,6 @@ Below, you'll find tables listing the commands you can use in the command palett ### File and window management -> **Changed in Preview (v0.225).** See [release notes](/releases#0.225). -> -> The `:bd[elete]` command now closes the active file across all panes. Previously, it only closed the file in the active pane. - This table shows commands for managing windows, tabs, and panes. As commands don't support arguments currently, you cannot specify a filename when saving or creating a new file. | Command | Description | diff --git a/script/docs-suggest-publish b/script/docs-suggest-publish index 24ea1c31addf59ad4abc8ef10e4649fdead4e7bb..4f3e3ac4d552960bb362170081e81283bb76619c 100755 --- a/script/docs-suggest-publish +++ b/script/docs-suggest-publish @@ -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"