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
This commit is contained in:
Joel Hans 2020-05-22 03:53:52 -07:00 committed by GitHub
parent ef660efef1
commit c514f250b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 7 deletions

View File

@ -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'

8
.mlc_config.json Normal file
View File

@ -0,0 +1,8 @@
{
"replacementPatterns": [
{
"pattern": "^/",
"replacement": "/github/workspace/"
}
]
}

View File

@ -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