summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-08-13 09:06:53 +0200
committerGitHub <noreply@github.com>2019-08-13 09:06:53 +0200
commitd6ede34882af958bf0ff1bb5ff0ff3775cca5381 (patch)
tree96b28db718dd8c3afc6c9c80c418954d4d331cf2
parent0f2531e0bed38055caca66cdf397e81c9c624ebd (diff)
Accept <> around links in markdown (#6646)
-rw-r--r--collectors/python.d.plugin/riakkv/README.md3
-rwxr-xr-xdocs/generator/checklinks.sh2
2 files changed, 2 insertions, 3 deletions
diff --git a/collectors/python.d.plugin/riakkv/README.md b/collectors/python.d.plugin/riakkv/README.md
index 0bcf22c5bd..4efbe725ba 100644
--- a/collectors/python.d.plugin/riakkv/README.md
+++ b/collectors/python.d.plugin/riakkv/README.md
@@ -4,8 +4,7 @@ Monitors one or more Riak KV servers.
**Requirements:**
-* An accessible `/stats` endpoint. See [the Riak KV configuration reference]
- documentation](https://docs.riak.com/riak/kv/2.2.3/configuring/reference/#client-interfaces)
+* An accessible `/stats` endpoint. See [the Riak KV configuration reference documentation](<https://docs.riak.com/riak/kv/2.2.3/configuring/reference/#client-interfaces>)
for how to enable this.
The following charts are included, which are mostly derived from the metrics
diff --git a/docs/generator/checklinks.sh b/docs/generator/checklinks.sh
index 5012ad17dd..6521ca9ad2 100755
--- a/docs/generator/checklinks.sh
+++ b/docs/generator/checklinks.sh
@@ -227,7 +227,7 @@ checklinks () {
while read -r l ; do
for word in $l ; do
if [[ $word =~ .*\]\(([^\(\) ]*)\).* ]] ; then
- lnk="${BASH_REMATCH[1]}"
+ lnk=$(echo "${BASH_REMATCH[1]}" | tr -d '<>')
if [ -z "$lnk" ] ; then continue ; fi
dbg "-$lnk"
case "$lnk" in