summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Hans <joel@netdata.cloud>2020-05-22 03:53:52 -0700
committerGitHub <noreply@github.com>2020-05-22 20:53:52 +1000
commitc514f250b198f3f134cca17b4a9ef8441d77bf54 (patch)
tree48b476dfcc2944996a65384609a6ff98ad6f30e2
parentef660efef1723f44b5636b3bdf35e1a250d47322 (diff)
Fix docs CI to handle absolute links between docs (#9132)
* Check all files * Change md to trigger workflow * Change version * Try config and replacement * Path to workspace * Continuing to test * Fix link in prometheus doc as test
-rw-r--r--.github/workflows/docs.yml5
-rw-r--r--.mlc_config.json8
-rw-r--r--exporting/prometheus/README.md10
3 files changed, 16 insertions, 7 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 21daacb72d..27455e77d9 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -17,8 +17,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Run link check
- uses: gaurav-nelson/github-action-markdown-link-check@v1
+ uses: gaurav-nelson/github-action-markdown-link-check@1.0.2
with:
- use-quiet-mode: 'yes'
+ use-quiet-mode: 'no'
use-verbose-mode: 'yes'
check-modified-files-only: 'yes'
+ config-file: '.mlc_config.json'
diff --git a/.mlc_config.json b/.mlc_config.json
new file mode 100644
index 0000000000..83a2918afd
--- /dev/null
+++ b/.mlc_config.json
@@ -0,0 +1,8 @@
+{
+ "replacementPatterns": [
+ {
+ "pattern": "^/",
+ "replacement": "/github/workspace/"
+ }
+ ]
+}
diff --git a/exporting/prometheus/README.md b/exporting/prometheus/README.md
index 0fef812699..9e17d43f46 100644
--- a/exporting/prometheus/README.md
+++ b/exporting/prometheus/README.md
@@ -420,11 +420,11 @@ Netdata can filter the metrics it sends to Prometheus with this setting:
send charts matching = *
```
-This settings accepts a space separated list of [simple patterns](../../libnetdata/simple_pattern/README.md) to match
-the **charts** to be sent to Prometheus. Each pattern can use `*` as wildcard, any number of times (e.g `*a*b*c*` is
-valid). Patterns starting with `!` give a negative match (e.g `!*.bad users.* groups.*` will send all the users and
-groups except `bad` user and `bad` group). The order is important: the first match (positive or negative) left to right,
-is used.
+This settings accepts a space separated list of [simple patterns](/libnetdata/simple_pattern/README.md) to match the
+**charts** to be sent to Prometheus. Each pattern can use `*` as wildcard, any number of times (e.g `*a*b*c*` is valid).
+Patterns starting with `!` give a negative match (e.g `!*.bad users.* groups.*` will send all the users and groups
+except `bad` user and `bad` group). The order is important: the first match (positive or negative) left to right, is
+used.
### Changing the prefix of Netdata metrics