Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sindresorhus opened this issue Aug 29, 2016 · 2 comments
Closed

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

sindresorhus opened this issue Aug 29, 2016 · 2 comments

Comments

@sindresorhus
Copy link
Member

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.

@hkdobrev
Copy link
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.

@sindresorhus
Copy link
Member Author

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
Development

No branches or pull requests

3 participants