Skip to content

Support /cratename/latest as alias for newest version #169

@theduke

Description

@theduke

Maintaining links to docs.rs documentation is quite annoying since, as far as I can tell, there is no way to reference the latest version by url.

eg: Let's say I want to link to documentation for a certain type like https://docs.rs/diesel/1.0.0-beta1/diesel/pg/struct.Pg.html. I have to update that link every time a new version is released, which can be done automatically sometimes, but also can be cumberosme in some situations.

It would be great to have an alias like , for the example above: ttps://docs.rs/diesel/latest/diesel/pg/struct.Pg.html, where latest is recognized as an alias for the newest released version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions