Skip to content

"View code" button on gh pages is broken #2775

Closed

Description

@zspriggs

Check for duplicates

  • I have searched for similar issues before opening a new one.

Component

GitHub pages site

Description

"View code" links on a plugin demo page always give a 404 because the site is trying to find the code in blockly-samples rather than blockly

Reproduction steps

  1. Open a demo page on the gh pages site like https://raspberrypifoundation.github.io/blockly-samples/plugins/workspace-minimap/test/index
  2. Click "View code" in the upper right corner
  3. The link 404s because it's trying to find the plugin in samples and the plugins don't exist in samples anymore

Stack trace

Screenshots

No response

Activity

  1. added theissue type on Oct 27, 2026
  2. added
    good first issue
    and removed on Oct 27, 2026
  3. Mittalnew commented on Oct 28, 2026

    @Mittalnew
    Contributor

    Hi @zspriggs, I'd like to work on this. I checked the demo page and the "View code" link still points to blockly-samples, so I plan to update the link generation on the gh pages site to point to the plugin's location in the blockly repo instead. Could you please assign this to me?

  4. moved this from Todo to In Progress in Blocklyon Oct 29, 2026
  5. moved this from In Progress to Done in Blocklyon Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issue

Type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions