inch-ci / inch_ci-web

Web frontend for Inch CI
http://inch-ci.org/
MIT License
139 stars 20 forks source link

Add documentation for adding a badge #88

Closed lpil closed 9 years ago

lpil commented 9 years ago

Hello!

I can't find any information on how to add a badge, and as a result I'm doing something wrong.

I've copied the badge code from another project, changed the path to my repo, yet no luck. Could we get some instructions on the page for a repo on inch? Also, what am I doing wrong? :)

https://github.com/lpil/dogma

rrrene commented 9 years ago

Hi, thanks for the heads up! Elixir projects are a bit more complicated on Inch CI and I will try to improve that.

In the meantime, the easiest way to add Elixir projects is through inch_ex and its Mix task - Instructions can be found here.

lpil commented 9 years ago

I've done that, and when I go to the profile page I have the analysis there, but the badge I've added to my readme doesn't show.

It's likely that I've done something wrong, but I don't know what as the documentation doesn't cover adding the badge.

rrrene commented 9 years ago

You are missing the .svg part of the badge filename ;-)

rrrene commented 9 years ago

Btw, you can just click on the badge here https://inch-ci.org/github/lpil/dogma and customize which version you want!

lpil commented 9 years ago

Ah, I see, thank you! I feel very silly. :)