matrix:
- name: rST files
  aspell:
    lang: en
    d: en_US
  dictionary:
    wordlists:
    - .wordlist.txt
    - .custom_wordlist.txt
    output: .sphinx/.wordlist.dic
  sources:
      # check all built docs
    - _build/**/*.html
  pipeline:
  - pyspelling.filters.html:
      comments: false
      attributes:
      - title
      - alt
      ignores:
      - code
      - pre
      - spellexception
      - link
      - title
      - div.relatedlinks
      - strong.command
      - div.visually-hidden
      - img
      - a.p-navigation__link
      - a.contributor
      - a.reference.internal # don't spellcheck refs hidden in html source
