docs: spelling & grammar fixes & GitHub Action (#3490)

This commit is contained in:
Mike Diarmid
2020-04-17 21:06:29 +01:00
committed by GitHub
parent 819f3a67aa
commit 7f52366e22
62 changed files with 429 additions and 390 deletions

24
.github/workflows/docs.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Documentation
on:
push:
branches:
- master
paths:
- '**/*.md'
pull_request:
paths:
- '**/*.md'
jobs:
spelling:
name: 'Spelling & Grammar'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Dependencies
run: |
sudo npm install --global spellchecker-cli
- name: Spell check
run: |
spellchecker --quiet --files="**/*.md" --dictionaries="./.spellcheck.dict.txt" --reports="spelling.json" --plugins spell indefinite-article repeated-words syntax-mentions syntax-urls frontmatter