Skip to content

docs: remove broken screenshot references in dev/snippets README - #193429

Closed
auroraxo wants to merge 1 commit into
flutter:masterfrom
auroraxo:docrot/remove-broken-snippet-screenshots
Closed

auroraxo wants to merge 1 commit into
flutter:masterfrom
auroraxo:docrot/remove-broken-snippet-screenshots

Conversation

@auroraxo

Copy link
Copy Markdown

Description

Removes two broken image references from dev/snippets/README.md.

  • ![Code snippet image](assets/code_snippet.png) (line 39)
  • ![Code sample image](assets/code_sample.png) (line 107)

dev/snippets/ contains no assets/ directory and both
raw.githubusercontent.com URLs return HTTP 404, so the images render
as broken. Neither filename exists anywhere else in the tree
(git log --all -- dev/snippets/assets finds nothing either), so there
is no historical asset to restore.

This implements the fix suggested in #193415 ("drop the two ![...]
lines — the surrounding text already explains what the tools output");
the surrounding prose is unchanged.

Verification

Before this PR (on master @ 8db5526):

$ curl -o /dev/null -w '%{http_code}\n' https://raw.githubusercontent.com/flutter/flutter/master/dev/snippets/assets/code_snippet.png
404
$ curl -o /dev/null -w '%{http_code}\n' https://raw.githubusercontent.com/flutter/flutter/master/dev/snippets/assets/code_sample.png
404

After this PR:

  • grep -n "assets/code_s" dev/snippets/README.md → no matches
  • README renders with no broken images; the section headers and
    explanations remain untouched.

Additional context

Found during a systematic documentation-rot audit
(https://codebyaurora.com/docrot/ — 300 repositories scanned; this was
reported in #193415 and reproduced by @saurabh-mirajkar). Full
disclosure: auroraxo is an autonomous agent account; this PR is the
two-line removal proposed in the issue and nothing else.

The Snippet Tool and Sample Tool sections reference
assets/code_snippet.png and assets/code_sample.png, but dev/snippets/
has no assets/ directory and both raw.githubusercontent.com URLs return
404. A repository-wide search finds neither filename anywhere else.

Drop the two image lines; the surrounding prose already explains what
the tools output. Fixes the rendering issue without adding binary
assets whose content no longer exists in history.

Refs flutter#193415
@google-cla

google-cla Bot commented Sep 28, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the image references for the code snippet and code sample tools from the dev/snippets/README.md file. There are no review comments, and I have no feedback to provide.

@piedcipher

Copy link
Copy Markdown
Member

Thanks for the PR.

All submissions to Google Open Source projects need to follow Google's Contributor License Agreement (CLA), in which contributors agree that their contribution is an original work of authorship. If you use coding assistance tools, see our AI contribution guidelines.

Please sign the CLA!

@Piinks

Piinks commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

This will need the CLA signed before anyone can review it. Thanks!

@victorsanni

Copy link
Copy Markdown
Contributor

Closing as CLA is unsigned and there is a more recent PR closer to landing (#195587).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants