forked from facelessuser/pymdown-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pyspelling.yml
138 lines (134 loc) · 3.43 KB
/
.pyspelling.yml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
matrix:
- name: mkdocs
pipeline:
- pyspelling.filters.html:
comments: false
attributes:
- title
- alt
ignores:
- ':matches(code, pre)'
- 'a:matches(.magiclink-compare, .magiclink-commit, .magiclink-repository, .md-footer-social__link)'
- 'span.keys'
- '.MathJax_Preview, .md-nav__link, .md-footer-custom-text, .md-source__repository, .headerlink, .md-icon'
- pyspelling.filters.url:
sources:
- site/**/*.html
aspell:
lang: en
hunspell:
d: docs/src/dictionary/hunspell/en_US
dictionary:
wordlists:
- docs/src/dictionary/en-custom.txt
output: build/dictionary/mkdocs.dic
- name: markdown
sources:
- README.md
aspell:
lang: en
hunspell:
d: docs/src/dictionary/hunspell/en_US
dictionary:
wordlists:
- docs/src/dictionary/en-custom.txt
output: build/dictionary/mkdocs.dic
pipeline:
- pyspelling.filters.markdown:
- pyspelling.filters.html:
comments: false
attributes:
- title
- alt
ignores:
- ':matches(code, pre)'
- pyspelling.filters.url:
- name: javascript
pipeline:
- pyspelling.filters.javascript:
jsdocs: true
- pyspelling.filters.url:
default_encoding: utf-8
sources:
- docs/src/js/*.js
aspell:
lang: en
hunspell:
d: docs/src/dictionary/hunspell/en_US
dictionary:
wordlists:
- docs/src/dictionary/en-custom.txt
- docs/src/dictionary/en-javascript.txt
output: build/dictionary/javascript.dic
- name: scss
default_encoding: utf-8
sources:
- docs/src/scss/*.scss
aspell:
lang: en
hunspell:
d: docs/src/dictionary/hunspell/en_US
dictionary:
wordlists:
- docs/src/dictionary/en-custom.txt
output: build/dictionary/scss.dic
pipeline:
- pyspelling.filters.stylesheets:
stylesheets: scss
- pyspelling.filters.context:
context_visible_first: true
escapes: '\\[\\`]'
delimiters:
# Ignore multiline content between fences (fences can have 3 or more back ticks)
# ```
# content
# ```
- open: '(?s)^(?P<open> *`{3,})$'
close: '^(?P=open)$'
# Ignore text between inline back ticks
- open: '(?P<open>`+)'
close: '(?P=open)'
- pyspelling.filters.url:
- name: python
sources:
- pymdownx/**/*.py
- tests/**/*.py
- tools/**/*.py|!tools/tags/**
aspell:
lang: en
hunspell:
d: docs/src/dictionary/hunspell/en_US
dictionary:
wordlists:
- docs/src/dictionary/en-custom.txt
- docs/src/dictionary/en-python.txt
output: build/dictionary/python.dic
pipeline:
- pyspelling.filters.python:
group_comments: true
- pyspelling.flow_control.wildcard:
allow:
- py-comment
- pyspelling.filters.context:
context_visible_first: true
delimiters:
# Ignore lint (noqa) and coverage (pragma) as well as shebang (#!)
- open: '^(?: *(?:noqa\b|pragma: no cover)|!)'
close: '$'
# Ignore Python encoding string -*- encoding stuff -*-
- open: '^ *-\*-'
close: '-\*-$'
- pyspelling.filters.context:
context_visible_first: true
escapes: '\\[\\`]'
delimiters:
# Ignore multiline content between fences (fences can have 3 or more back ticks)
# ```
# content
# ```
- open: '(?s)^(?P<open> *`{3,})$'
close: '^(?P=open)$'
# Ignore text between inline back ticks
- open: '(?P<open>`+)'
close: '(?P=open)'
- pyspelling.filters.url: