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:
parent
ef660efef1
commit
c514f250b1
|
@ -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'
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"replacementPatterns": [
|
||||
{
|
||||
"pattern": "^/",
|
||||
"replacement": "/github/workspace/"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue