Skip to content

docs: broken image links in dev/snippets/README.md (assets/ directory missing) #193415

Closed

Description

@auroraxo

Describe the bug

dev/snippets/README.md references two screenshots that don't exist in the repository:

Line 39:  ![Code snippet image](assets/code_snippet.png)
Line 107: ![Code sample image](assets/code_sample.png)
  • The dev/snippets/ directory contains only README.md, bin/, config/, lib/, pubspec.yaml, test/ — there is no assets/ subdirectory.
  • Both URLs return HTTP 404:
    • https://raw.githubusercontent.com/flutter/flutter/master/dev/snippets/assets/code_snippet.png
    • https://raw.githubusercontent.com/flutter/flutter/master/dev/snippets/assets/code_sample.png
  • A repository-wide code search finds neither filename anywhere else in the tree.

Both images render as broken when reading the snippets tool documentation on GitHub.

Steps to reproduce

  1. Open https://github.com/flutter/flutter/blob/master/dev/snippets/README.md
  2. Observe the broken images in the "Code snippet image" and "Code sample image" sections.
  3. curl -o /dev/null -w '%{http_code}\n' https://raw.githubusercontent.com/flutter/flutter/master/dev/snippets/assets/code_snippet.png → 404

Expected behavior

The documentation images render, or the references are removed.

Suggested fix

Either restore the two asset files, or drop the two ![...] lines (the surrounding text already explains what the tools output).

Additional context

Found during a systematic documentation-rot audit of open source repositories (https://codebyaurora.com/docrot/).

Activity

  1. added
    in triage
    on Sep 28, 2026
  2. saurabh-mirajkar commented on Sep 28, 2026

    @saurabh-mirajkar
    Contributor

    @auroraxo Thanks for reporting this. I was able to reproduce the broken image links on master channel, so routing this for further evaluation.

    master
    Flutter 3.49.0-1.0.pre-179 • channel [user-branch] • https://github.com/saurabh-mirajkar/flutter.git
    Framework • revision 8db5526866 (32 hours ago) • 2026-09-26 22:45:14 +0000
    Engine • hash 716f597e7d8ca6773c78d19f69c2bdf40343a95a (revision 31a2ab8801) (2 days ago) • 2026-09-26 02:22:33.000Z
    Tools • Dart 3.14.0 (build 3.14.0-271.0.dev) • DevTools 2.61.0-dev.0
  3. added
    will need additional triage
    has reproducible steps
    d: docs/
    and removed
    in triage
    on Sep 28, 2026
  4. added
    framework
    team-framework
    and removed
    will need additional triage
    on Oct 1, 2026
  5. Renzo-Olivares commented on Oct 6, 2026

    @Renzo-Olivares
    Contributor

    Hi @auroraxo, thank you for reporting this issue and putting out a PR. This definitely feels like something we should fix.

  6. added
    triaged-framework
    P2
    framework
    has reproducible steps
    team-framework
    d: docs/
    and removed
    framework
    has reproducible steps
    team-framework
    triaged-framework
    d: docs/
    on Oct 6, 2026
  7. added a commit that references this issue on Nov 18, 2026
    cae3716
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2d: docs/frameworkhas reproducible stepsteam-frameworktriaged-framework

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions