diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 7844abe..5062c6a 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -1,12 +1,28 @@ -name: Spellcheck Action -on: push - -jobs: - build: - name: Spellcheck - runs-on: ubuntu-latest - steps: - # The checkout step - - uses: actions/checkout@v3 - - uses: rojopolis/spellcheck-github-actions@0.42.0 - name: Spellcheck +matrix: + - name: SPCheck + aspell: + lang: en + dictionary: + encoding: utf-8 + wordlists: + - docs/spell-check-custom-words.txt + pipeline: + - pyspelling.filters.context: + context_visible_first: true + escapes: \\[\\`~] + delimiters: + # Ignore all code blocks + - open: '(?s)^(?P *`{3,}\s*(\w+\s*,?\s*)+.*?)$' + close: '^( *`{3,})$' + - pyspelling.filters.markdown: + markdown_extensions: + - pymdownx.superfences: + - pyspelling.filters.html: + comments: false + ignores: + - code + - pre + sources: + - '**/*.mdx' + default_encoding: utf-8 + \ No newline at end of file