xref: /curl/.github/scripts/spellcheck.yaml (revision 77d722a0)
1# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
2#
3# SPDX-License-Identifier: curl
4#
5# Docs: https://github.com/UnicornGlobal/spellcheck-github-actions
6matrix:
7  - name: Markdown
8    expect_match: false
9    apsell:
10      mode: en
11    dictionary:
12      wordlists:
13        - wordlist.txt
14      output: wordlist.dic
15      encoding: utf-8
16    pipeline:
17      - pyspelling.filters.markdown:
18          markdown_extensions:
19            - markdown.extensions.extra:
20      - pyspelling.filters.html:
21          comments: true
22          attributes:
23            - title
24            - alt
25          ignores:
26            - ':matches(code, pre)'
27            - 'code'
28            - 'pre'
29            - 'strong'
30            - 'em'
31    sources:
32      - '**/*.md|!docs/BINDINGS.md|!docs/DISTROS.md|!docs/CIPHERS-TLS12.md'
33