Skip to content

Better documentation for docs.rs/:crate/latest #854

Closed
@robinmoussu

Description

@robinmoussu

Currently urls looks like this: https://docs.rs/$crate/$version/$crate/$page.html. I propose that it should be possible to use the following alias https://docs.rs/$crate/$page.html. This page would just always displays the docs of the latest version of the crate.

  • I think that most user always want to consult the latest version of the docs. If not it should always be possible to use the url that include a version number.
  • It would make it easier to have cross-site links that are always up-to-date (like in stackoverflow).
  • I don't know if it's possible but it would be nice to tell in the robot.txt that only those pages should be indexed and not the one with explicit version numbers (so all indexed pages would always points to the latest version, instead of (usually) outdated ones).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Web frontendP-lowLow priority issuesS-needs-designStatus: There's a problem here, but no obvious solution; or the solution raises other questions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions