Skip to content

Commit 250291d

Browse files
committed
README: badge links more maintainable [skip ci]
Employ some AsciiDoc variables to make the adoc source easier to read.
1 parent b029582 commit 250291d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.adoc

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
:notitle:
22
:figure-caption!:
33
:imagesdir: ./doc
4+
:project-src-coords: clj-commons/rewrite-clj
5+
:project-mvn-coords: rewrite-clj/rewrite-clj
6+
:workflow-url: https://github.com/{project-src-coords}/actions/workflows
47

58
image:rewrite-clj-logo.png[rewrite-clj,270,60]
69

7-
https://cljdoc.org/d/rewrite-clj/rewrite-clj/CURRENT[image:https://cljdoc.org/badge/rewrite-clj/rewrite-clj[cljdoc]]
8-
https://github.com/clj-commons/rewrite-clj/actions/workflows/unit-test.yml[image:https://github.com/clj-commons/rewrite-clj/actions/workflows/unit-test.yml/badge.svg[Unit Tests]]
9-
https://github.com/clj-commons/rewrite-clj/actions/workflows/libs-test.yml[image:https://github.com/clj-commons/rewrite-clj/actions/workflows/libs-test.yml/badge.svg[Libs Test]]
10-
https://github.com/clj-commons/rewrite-clj/actions/workflows/native-image-test.yml[image:https://github.com/clj-commons/rewrite-clj/actions/workflows/native-image-test.yml/badge.svg[Native Image Tests]]
11-
https://codecov.io/gh/clj-commons/rewrite-clj[image:https://codecov.io/gh/clj-commons/rewrite-clj/branch/main/graph/badge.svg[Code Coverage]]
10+
https://cljdoc.org/d/{project-mvn-coords}/CURRENT[image:https://cljdoc.org/badge/{project-mvn-coords}[cljdoc]]
11+
{workflow-url}/unit-test.yml[image:{workflow-url}/unit-test.yml/badge.svg[Unit Tests]]
12+
{workflow-url}/libs-test.yml[image:{workflow-url}/libs-test.yml/badge.svg[Libs Test]]
13+
{workflow-url}/native-image-test.yml[image:{workflow-url}/native-image-test.yml/badge.svg[Native Image Tests]]
14+
https://codecov.io/gh/{project-src-coords}[image:https://codecov.io/gh/{project-src-coords}/branch/main/graph/badge.svg[Code Coverage]]
1215
https://clojurians.slack.com/messages/CHB5Q2XUJ[image:https://img.shields.io/badge/slack-join_chat-brightgreen.svg[Join chat]]
1316
https://clojars.org/rewrite-clj[image:https://img.shields.io/clojars/v/rewrite-clj.svg[Clojars project]]
1417

0 commit comments

Comments
 (0)