You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Link to the readme of the latest version in the main readme #288
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.
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.
Activity
hkdobrev commentedon Aug 30, 2016
👍
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 commentedon Aug 30, 2016
Yes, I was thinking just reading the git tags.