add dead link validation
This commit is contained in:
parent
0c50460bf0
commit
5e322b94e0
3 changed files with 10 additions and 4 deletions
11
.drone.yml
11
.drone.yml
|
@ -8,13 +8,14 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: assets
|
||||
image: node
|
||||
image: node:lts
|
||||
commands:
|
||||
- npm install -g gulp
|
||||
- npm install
|
||||
- gulp default
|
||||
environment:
|
||||
FORCE_COLOR: true
|
||||
NPM_CONFIG_LOGLEVEL: error
|
||||
|
||||
- name: test
|
||||
image: klakegg/hugo:0.69.0-ext-alpine
|
||||
|
@ -29,12 +30,18 @@ steps:
|
|||
- spellchecker --files 'exampleSite/content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions
|
||||
environment:
|
||||
FORCE_COLOR: true
|
||||
NPM_CONFIG_LOGLEVEL: error
|
||||
|
||||
- name: html-validation
|
||||
image: validator/validator
|
||||
commands:
|
||||
- vnu --skip-non-html --also-check-css --errors-only exampleSite/public
|
||||
|
||||
- name: dead-links-validation
|
||||
image: xoxys/link-validator
|
||||
commands:
|
||||
- link-validator -ro
|
||||
|
||||
- name: build
|
||||
image: alpine
|
||||
commands:
|
||||
|
@ -153,6 +160,6 @@ depends_on:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 708f32a4284b33fb9606b8304637d426cdb38260a6123ca23b4a387ad2bf6654
|
||||
hmac: a6c3c2933f950352b2379b402340ed9723d3a4d736e1e79fc3964aca078a4e08
|
||||
|
||||
...
|
||||
|
|
1
.npmrc
1
.npmrc
|
@ -1 +0,0 @@
|
|||
loglevel = error
|
|
@ -5,7 +5,7 @@ title: Documentation
|
|||
[](https://cloud.drone.io/xoxys/hugo-geekdoc)
|
||||
[](https://gohugo.io)
|
||||
[](https://github.com/xoxys/hugo-geekdoc/releases/latest)
|
||||
[](LICENSE)
|
||||
[](https://github.com/xoxys/hugo-geekdoc/blob/master/LICENSE)
|
||||
|
||||
Geekdoc is a simple Hugo theme for documentations. This work is inspired and partially based on the [hugo-book](https://github.com/alex-shpak/hugo-book) theme.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue