HaxeFoundation / haxelib

The Haxe library manager
https://lib.haxe.org/
MIT License
172 stars 78 forks source link

Social buttons only work if haxelib.json url points to GitHub #222

Open Gama11 opened 9 years ago

Gama11 commented 9 years ago

It makes sense for projects that have an official website to link to that in the haxelib.json, like flixel, openfl and HaxePunk are doing.

Unfortunately, this leads to the "social" buttons (fork and star) missing:

Not sure what the best solution here is (allow having two urls in the haxelib.json?), but it seems like it should be possible to link to an official website while also taking advantage of this "social" feature.

ibilon commented 9 years ago

npm has both a homepage and repository field

And since url is shown as "Website" on lib.haxe.org it doesn't make a lot of sense (semantically speaking) to put a github url in it.