Better error message when there are no "stable" artifacts, only snapshots
https://cljdoc.xyz/d/twotree.longest-path/twotree.longest-path/CURRENT
This one works:
https://cljdoc.xyz/d/twotree.longest-path/twotree.longest-path/0.1.0-SNAPSHOT/
Details: When using CURRENT or /badge cljdoc looks up the latest stable release for an artefact and then uses that version to initiate a redirect or render a badge respectively. If there is no stable release (i.e. only SNAPSHOT releases) this will not work and an appropriate error message should be shown.
CURRENT does not include snapshots (in order to always point to “stable” versions).
I think this might also be the cause for the badge issue you opened assuming there is no non-SNAPSHOT releases for this artifact.
PS. I’m on a sailboat for the next two weeks so might be a bit slow to reply etc :)
I assumed this was the problem as well. I think the error message can be more informative and will further reduce the friction.
I absolutely agree. Feel free to update the issue title & description to capture this. Also a PR is obviously welcome by you or anyone else :)