From 13a0f35cd50e35c51f407519cbb1d6983489fd5b Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 20 May 2022 16:25:12 +0200 Subject: [PATCH] ci: switch to linkchecker (#311) --- .drone.jsonnet | 4 ++-- .drone.yml | 6 +++--- .gitignore | 1 + .linkcheckignore | 0 4 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .linkcheckignore diff --git a/.drone.jsonnet b/.drone.jsonnet index 28ffc5f..13e40d0 100644 --- a/.drone.jsonnet +++ b/.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', diff --git a/.drone.yml b/.drone.yml index d321d31..32e5801 100644 --- a/.drone.yml +++ b/.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: 6b4b88531247b774d34061a80db83fcef0c51e75a4555d5f1b0621dd73940363 +hmac: ef80b1da46ce2d43b50ed1f00c19ff0fc549289d127dcc45270e88e15e84de6b ... diff --git a/.gitignore b/.gitignore index 9085085..3508e4f 100644 --- a/.gitignore +++ b/.gitignore @@ -106,6 +106,7 @@ pip-wheel-metadata docs/themes/ docs/public/ resources/_gen/ +.hugo_build.lock # Misc .dockertidy* diff --git a/.linkcheckignore b/.linkcheckignore new file mode 100644 index 0000000..e69de29