Skip to content

Commit

Permalink
Merge pull request #103 from common-workflow-language/fix-doc-for-badges
Browse files Browse the repository at this point in the history
Update the badge section in README.rst
  • Loading branch information
mr-c authored Jan 20, 2020
2 parents 66efe79 + 2caf082 commit 221e21c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ To generate JSON files::
...
$ cat badges/command_line_tool.json | jq .
{
"subject": "[CWL] command_line_tool",
"subject": "command_line_tool",
"status": "100%",
"color": "green"
}

Once you upload JSON file to a server, you make a badge by using a link like https://flat.badgen.net/https/path/to/generated/json.
Once you upload JSON file to a server, you make a badge by using a link like https://badgen.net/https/path/to/generated/json or https://flat.badgen.net/https/path/to/generated/json (for flat badges).

Here is an example of markdown to add a badge::

![test result](https://flat.badgen.net/https/path/to/generated/json)
![test result](https://flat.badgen.net/https/path/to/generated/json?icon=commonwl)

0 comments on commit 221e21c

Please sign in to comment.