From 5fea37961b5125c9f072aefeeb53d234acc1f21c Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Wed, 17 Apr 2019 21:53:43 +0200 Subject: [PATCH] Fix HTML syntax errors --- static/index.html | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/static/index.html b/static/index.html index 2422401..183452a 100644 --- a/static/index.html +++ b/static/index.html @@ -10,48 +10,44 @@

Hits-of-Code Badges

+

This API offers badges for the Hits-of-Code metric for your repositories. This metric was proposed by Yegor Bugayenko as an alternative to Lines-of-Code. -

+

-

- -

-Instead of counting the number of existing lines in a codebase, the number of modified lines is counted. That way, the +

+ Instead of counting the number of existing lines in a codebase, the number of modified lines is counted. That way, the metric can only grow and never shrink. While this metric still cannot give any information about the code quality, it gives an overview about the amount of work put into a codebase. -

+

-

- -

There is a command-line tool to calculate the HoC of a repository, but some people might want a nice badge to put in their README, that's why I implemented this API. Currently the API can be used for GitHub, GitLab and Bitbucket repositories. Just put the following code in your README: +

 ![Hits-of-Code](https://hoc.oldsql.cc/<service>/<user>/<repo>)
 
-

where <service> is one of github, gitlab or bitbucket. So the following Markdown +

 ![Hits-of-Code](https://hoc.oldsql.cc/github/vbrandl/elm-chess)
 
-

would render this badge: +

 
 
-

Source Code