-
-
Notifications
You must be signed in to change notification settings - Fork 810
Expand file tree
/
Copy path.pyspelling.yml
More file actions
69 lines (69 loc) · 1.84 KB
/
.pyspelling.yml
File metadata and controls
69 lines (69 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
matrix:
- name: markdown
aspell:
lang: en
d: en_US
mode:
- markdown
- url
- email
dictionary:
wordlists:
- docs/spelling_wordlist
output: _build/dictionary/python.dic
sources:
- 'docs/**/*.md'
- README.md
pipeline:
- pyspelling.filters.markdown:
markdown_extensions:
- markdown.extensions.toc
- markdown.extensions.admonition
- markdown.extensions.attr_list
- pymdownx.superfences
- pymdownx.blocks.admonition
- pymdownx.blocks.caption
- pymdownx.blocks.tab
- pymdownx.details
- pyspelling.filters.html:
comments: false
attributes:
- title
- alt
ignores:
- 'code'
- 'pre'
- 'nospell'
- pyspelling.filters.context:
context_visible_first: true
delimiters:
# Ignore the Jinja directives
- open: '{% '
close: ' %}'
# Ignores the autorefs link targets
- open: '\]\['
close: '\]'
# Ignore the single line Snippets syntax
- open: '-8<- '
close: '$'
# Ignore the .md URLs - appears to be fixed by mode: url above, leaving in place for now
#- open: 'https?:'
# close: '\.md(:[-\w]+)?'
# Ignore urls in frontmatter - This is still necessary with mode: url
- open: 'url: '
close: '$'
# Ignore toc in frontmatter
- open: '- toc'
close: '$'
# Ignore numbers with a suffix, e.g. dates
- open: '[0-9]+'
close: '[rshndt]*'
# Ignore version numbers
- open: '[0-9\.]+[a-z]*'
close: '[0-9]*'
# Ignore URLs in Markdown links - This shouldn't be necessary, but here we are.
- open: '\]\('
close: '\)'
# Ignore attrlist class names
- open: '\{ \.'
close: '\}'