Skip to content

Link to the readme of the latest version in the main readme #288

Closed

Description

@sindresorhus

Often the readme you land on when you go to a repo is in master and might contain unreleased features. Would be useful to have a quick link to the readme of the latest version.

Activity

  1. hkdobrev commented on Aug 30, 2016

    @hkdobrev
    Contributor

    👍

    Thinking out loud:
    We'd either need to use the API for that or cache the latest release when the user visits the Releases page which is not that useful here. We can of course make an AJAX request to releases, but for every readme you visit that would be an overkill. But I guess we can assume semver and try to read the branch/tag selector in the top left corner of the repo page and get the latest version from there.

  2. sindresorhus commented on Aug 30, 2016

    @sindresorhus
    MemberAuthor

    Yes, I was thinking just reading the git tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions