Closed andys8 closed 3 years ago
I would actually prefer to stop using the GitHub API for readme rendering entirely; see #150 and https://github.com/purescript/purescript/issues/3917
In that case the issue would be superseeded.
Yeah, we could do this instead anyway. Using "click here" as link text is generally best avoided in favour of using more direct, descriptive language - especially for screen readers - so I'd rather the link text be "view this package's readme on GitHub".
Currently if there is the README can't be fetched due to rate limiting, pursuit is showing:
https://github.com/purescript/pursuit/blob/d995a0411c65aa4506074f10acc95188f550502b/src/TemplateHelpers.hs#L125-L129
Possible improvement
We could add a hint ("Click here to open README instead") and additionally link to
https://<REPO>/blob/master/README.md