@cryptotaxi247 / netdata-1 / commits / c514f250b

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

Joel Hans committed May 22, 2020 at 03:53 UTC c514f250b198f3f134cca17b4a9ef8441d77bf54
3 files changed +16 -7
.github/workflows/docs.yml
+3 -2
@@ -17,8 +17,9 @@ jobs:
17 - name: Checkout
18 uses: actions/checkout@v2
19 - name: Run link check
20 - uses: gaurav-nelson/github-action-markdown-link-check@v1
20 + uses: gaurav-nelson/github-action-markdown-link-check@1.0.2
21 with:
22 - use-quiet-mode: 'yes'
22 + use-quiet-mode: 'no'
23 use-verbose-mode: 'yes'
24 check-modified-files-only: 'yes'
25 + config-file: '.mlc_config.json'
.mlc_config.json new
+8
@@ -0,0 +1,8 @@
1 +{
2 + "replacementPatterns": [
3 + {
4 + "pattern": "^/",
5 + "replacement": "/github/workspace/"
6 + }
7 + ]
8 +}
exporting/prometheus/README.md
+5 -5
@@ -420,11 +420,11 @@ Netdata can filter the metrics it sends to Prometheus with this setting:
420 send charts matching = *
421 ```
422
423 -This settings accepts a space separated list of [simple patterns](../../libnetdata/simple_pattern/README.md) to match
424 -the **charts** to be sent to Prometheus. Each pattern can use `*` as wildcard, any number of times (e.g `*a*b*c*` is
425 -valid). Patterns starting with `!` give a negative match (e.g `!*.bad users.* groups.*` will send all the users and
426 -groups except `bad` user and `bad` group). The order is important: the first match (positive or negative) left to right,
427 -is used.
423 +This settings accepts a space separated list of [simple patterns](/libnetdata/simple_pattern/README.md) to match the
424 +**charts** to be sent to Prometheus. Each pattern can use `*` as wildcard, any number of times (e.g `*a*b*c*` is valid).
425 +Patterns starting with `!` give a negative match (e.g `!*.bad users.* groups.*` will send all the users and groups
426 +except `bad` user and `bad` group). The order is important: the first match (positive or negative) left to right, is
427 +used.
428
429 ### Changing the prefix of Netdata metrics
430