mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-21 20:30:39 +00:00
add dead link validation
This commit is contained in:
parent
0c50460bf0
commit
5e322b94e0
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
|
||||
|
||||
...
|
||||
|
@ -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)
|
||||
[![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)
|
||||
[![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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user