Browse Source

ci: switch to linkchecker (#224)

pull/225/head v2.5.4
Robert Kaussow 1 month ago committed by GitHub
parent
commit
a28f918888
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .drone.jsonnet
  2. 6
      .drone.yml
  3. 1
      .gitignore
  4. 0
      .linkcheckignore
  5. 2
      docs/content/usage/getting-started.md

4
.drone.jsonnet

@ -343,14 +343,14 @@ local PipelineDocs = {
name: 'testbuild',
image: 'thegeeklab/hugo:0.97.3',
commands: [
'hugo --panicOnWarning -s docs/ -b http://localhost/',
'hugo --panicOnWarning -s docs/ -b http://localhost:8000/',
],
},
{
name: 'link-validation',
image: 'thegeeklab/link-validator',
commands: [
'link-validator -ro',
'link-validator --nice --external --skip-file .linkcheckignore',
],
environment: {
LINK_VALIDATOR_BASE_DIR: 'docs/public',

6
.drone.yml

@ -501,12 +501,12 @@ steps:
- name: testbuild
image: thegeeklab/hugo:0.97.3
commands:
- hugo --panicOnWarning -s docs/ -b http://localhost/
- hugo --panicOnWarning -s docs/ -b http://localhost:8000/
- name: link-validation
image: thegeeklab/link-validator
commands:
- link-validator -ro
- link-validator --nice --external --skip-file .linkcheckignore
environment:
LINK_VALIDATOR_BASE_DIR: docs/public
@ -649,6 +649,6 @@ depends_on:
---
kind: signature
hmac: bdcf6316a232376f879e282922dd5f0749f005a896d77495049bfdc0eb36fdbf
hmac: a170f08b24fc32f27120ac195409820fb0f6273d0a6819008f8a52bf926176ba
...

1
.gitignore vendored

@ -106,6 +106,7 @@ pip-wheel-metadata
docs/themes/
docs/public/
resources/_gen/
.hugo_build.lock
# Misc
CHANGELOG.md

0
.linkcheckignore

2
docs/content/usage/getting-started.md

@ -45,7 +45,7 @@ The following list of meta labels can be used to relabel your scrape results:
### File service discovery
Prometheus needs a basic file service discovery configuration to fetch system metrics from the host's discovered from PVE. Depending on the used metrics exporter the configuration need to be adjusted, using [Telegraf](https://github.com/influxdata/telegraf/#telegraf) a starter configuration might look like this:
Prometheus needs a basic file service discovery configuration to fetch system metrics from the host's discovered from PVE. Depending on the used metrics exporter the configuration need to be adjusted, using [Telegraf](https://github.com/influxdata/telegraf/) a starter configuration might look like this:
```YAML
- file_sd_configs:

Loading…
Cancel
Save