Skip to content

docs: [EXPERIMENT] Documentation suggestions for v0.224 preview#49190

Closed
morgankrey wants to merge 2 commits intomainfrom
docs/suggestions-v0.224-experiment
Closed

docs: [EXPERIMENT] Documentation suggestions for v0.224 preview#49190
morgankrey wants to merge 2 commits intomainfrom
docs/suggestions-v0.224-experiment

Conversation

@morgankrey
Copy link
Copy Markdown
Contributor

Documentation Suggestions Experiment

This PR demonstrates what the docs-suggest workflow would have generated for the v0.224 preview release.

What This Is

A simulated run of the documentation automation system against 6 user-facing PRs that went into v0.224 preview (Feb 5-12, 2026).

Results

PR Title Result
#48118 Forward ZED_ env vars to flatpak No docs needed
#48467 Move update button to title bar Docs needed
#48553 Tool permissions refactor Docs exist, wrong format
#48592 vim :bdelete command Docs needed
#48814 Devcontainer root support Docs needed
#48912 Split diff default Docs needed

5 of 6 PRs generated actionable suggestions.

How to Review

  1. Look at docs/.suggestions/v0.224-preview-suggestions.md
  2. For each suggestion, consider:
    • Is the analysis accurate?
    • Are the suggested docs appropriate?
    • Is the Preview callout correctly placed?

This is NOT meant to be merged

This PR is for review/feedback on the suggestion quality only. Close without merging.


See the full suggestions in the file diff.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 14, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Feb 14, 2026
@zed-industries-bot
Copy link
Copy Markdown
Contributor

zed-industries-bot commented Feb 14, 2026

Warnings
⚠️

This PR is missing release notes.

Please add a "Release Notes" section that describes the change:

Release Notes:

- Added/Fixed/Improved ...

If your change is not user-facing, you can use "N/A" for the entry:

Release Notes:

- N/A

Generated by 🚫 dangerJS against ea5a598

@morgankrey morgankrey force-pushed the docs/suggestions-v0.224-experiment branch 4 times, most recently from cc1fd07 to a02114f Compare February 14, 2026 20:56
Example output showing what the docs-suggest automation would generate
for the v0.224 preview release.

PRs analyzed:
- #48118: Forward ZED_ env vars to flatpak (no docs needed)
- #48467: Move update button to title bar (docs needed)
- #48553: Tool permissions refactor (docs exist, wrong format)
- #48592: vim :bdelete command (docs needed)
- #48814: Devcontainer root support (docs needed)
- #48912: Split diff default (docs needed)

5 of 6 PRs generated actionable suggestions.

Files:
- docs/.suggestions/v0.224-suggestions.md: Raw suggestion output
- docs/src/update.md: Update notification UI documentation
- docs/src/vim.md: Added :bdelete command
- docs/src/dev-containers.md: Root config file location support

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@morgankrey morgankrey closed this Feb 18, 2026
morgankrey added a commit that referenced this pull request Feb 18, 2026
Adds scripts and a GitHub Action workflow for automatically suggesting
documentation updates when PRs modify user-facing code.

## Scripts

- **`script/docs-suggest`**: Analyze PRs/commits for documentation needs
using AI
- **`script/docs-suggest-publish`**: Create a PR from batched
suggestions
- **`script/docs-strip-preview-callouts`**: Remove Preview callouts when
shipping to stable
- **`script/test-docs-suggest-batch`**: Testing utility for batch
analysis

## Workflow

The GitHub Action (`.github/workflows/docs_suggestions.yml`) handles two
scenarios:

1. **PRs merged to main**: Suggestions are batched to
`docs/suggestions-pending` branch for the next Preview release
2. **Cherry-picks to release branches**: Suggestions are posted as PR
comments for immediate review

## Callout Types

The system distinguishes between:

- **Additive features** (new commands, settings, UI):
  ```markdown
> **Preview:** This feature is available in Zed Preview. It will be
included in the next Stable release.
  ```

- **Behavior modifications** (changed defaults, altered existing
behavior):
  ```markdown
> **Changed in Preview (v0.XXX).** See [release notes](/releases#0.XXX).
  ```

Both callout types are stripped by `docs-strip-preview-callouts` when
features ship to stable.

## Example Output

See PR #49190 for example documentation suggestions generated by running
this on PRs from the v0.224 preview window.

## Usage

```bash
# Analyze a PR (auto-detects batch vs immediate mode)
script/docs-suggest --pr 49100

# Dry run to see assembled context
script/docs-suggest --pr 49100 --dry-run

# Create PR from batched suggestions
script/docs-suggest-publish

# Strip callouts for stable release
script/docs-strip-preview-callouts
```

Release Notes:

- N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants