add dead link validation
parent
0c50460bf0
commit
5e322b94e0
11
.drone.yml
11
.drone.yml
|
@ -8,13 +8,14 @@ platform:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: assets
|
- name: assets
|
||||||
image: node
|
image: node:lts
|
||||||
commands:
|
commands:
|
||||||
- npm install -g gulp
|
- npm install -g gulp
|
||||||
- npm install
|
- npm install
|
||||||
- gulp default
|
- gulp default
|
||||||
environment:
|
environment:
|
||||||
FORCE_COLOR: true
|
FORCE_COLOR: true
|
||||||
|
NPM_CONFIG_LOGLEVEL: error
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: klakegg/hugo:0.69.0-ext-alpine
|
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
|
- spellchecker --files 'exampleSite/content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions
|
||||||
environment:
|
environment:
|
||||||
FORCE_COLOR: true
|
FORCE_COLOR: true
|
||||||
|
NPM_CONFIG_LOGLEVEL: error
|
||||||
|
|
||||||
- name: html-validation
|
- name: html-validation
|
||||||
image: validator/validator
|
image: validator/validator
|
||||||
commands:
|
commands:
|
||||||
- vnu --skip-non-html --also-check-css --errors-only exampleSite/public
|
- 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
|
- name: build
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
|
@ -153,6 +160,6 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 708f32a4284b33fb9606b8304637d426cdb38260a6123ca23b4a387ad2bf6654
|
hmac: a6c3c2933f950352b2379b402340ed9723d3a4d736e1e79fc3964aca078a4e08
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
|
@ -5,7 +5,7 @@ title: Documentation
|
||||||
[![Build Status](https://img.shields.io/drone/build/xoxys/hugo-geekdoc?logo=drone)](https://cloud.drone.io/xoxys/hugo-geekdoc)
|
[![Build Status](https://img.shields.io/drone/build/xoxys/hugo-geekdoc?logo=drone)](https://cloud.drone.io/xoxys/hugo-geekdoc)
|
||||||
[![Hugo Version](https://img.shields.io/badge/hugo-0.65-blue.svg)](https://gohugo.io)
|
[![Hugo Version](https://img.shields.io/badge/hugo-0.65-blue.svg)](https://gohugo.io)
|
||||||
[![GitHub release](https://img.shields.io/github/v/release/xoxys/hugo-geekdoc)](https://github.com/xoxys/hugo-geekdoc/releases/latest)
|
[![GitHub release](https://img.shields.io/github/v/release/xoxys/hugo-geekdoc)](https://github.com/xoxys/hugo-geekdoc/releases/latest)
|
||||||
[![License: MIT](https://img.shields.io/github/license/xoxys/hugo-geekdoc)](LICENSE)
|
[![License: MIT](https://img.shields.io/github/license/xoxys/hugo-geekdoc)](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.
|
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…
Reference in New Issue