From 9654557a153ab99c5ec2e1372611081a30f83c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Fri, 22 Dec 2023 19:26:04 +0100 Subject: [PATCH] build: add spellcheck --- .github/workflows/spellcheck.yml | 11 +++++++++++ .spellcheck.yml | 19 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/spellcheck.yml create mode 100644 .spellcheck.yml diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 0000000..27f44eb --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,11 @@ +name: Spellcheck Action +on: push + +jobs: + build: + name: Spellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: rojopolis/spellcheck-github-actions@0.35.0 + name: Spellcheck diff --git a/.spellcheck.yml b/.spellcheck.yml new file mode 100644 index 0000000..0e73055 --- /dev/null +++ b/.spellcheck.yml @@ -0,0 +1,19 @@ +matrix: + - name: Markdown + aspell: + lang: en + dictionary: + encoding: utf-8 + pipeline: + - pyspelling.filters.markdown: + markdown_extensions: + - pymdownx.superfences + - pymdownx.tabbed + - pyspelling.filters.html: + comments: false + ignores: + - code + - pre + sources: + - "docs/**/*.md" + default_encoding: utf-8