Skip to content

wgpu readme on crates.io has broken examples link #2007

@stephanemagnenat

Description

@stephanemagnenat

Description
Once published on crates.io, the wgpu crate's readme has a broken link to examples. Indeed, the link becomes https://github.com/gfx-rs/wgpu/tree/v0.10/blob/HEAD/examples which does not exist.

The problem is that the crate is not at the top level of the repository. I do not know whether that is actually a bug in cargo's publication process or if there is something to specify to get that right, but as a user it appears as a bug.

Repro steps
Go here: https://crates.io/crates/wgpu, browse to the usage section, click on the "examples" link and see the 404.

Expected vs observed behavior
I expect the links on the crates.io page to work, especially the example one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: documentationDocumentation for crate items, public or privategood first issueGood for newcomershelp requiredWe need community help to make this happen.type: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions