forked from magento/devdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.checks.yml
43 lines (32 loc) · 1.15 KB
/
_config.checks.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
# Configuration settings for html-proofer.
# For configuration documentation, refer to: https://github.com/gjtorikian/html-proofer#configuration
# For configuration defaults, refer to: https://github.com/gjtorikian/html-proofer/blob/master/lib/html-proofer/configuration.rb
#
html-proofer:
# Validate HTML
:check_html: true
# Do not check external links.
:disable_external: true
# Report only errors that fall within the 4xx status code range.
:only_4xx: true
# Ignores images with empty alt tags.
:empty_alt_ignore: true
# Sort errors by description in the report
:error_sort: :desc
# Use up to 3 parallel processes to speed up internal file checks.
:parallel:
:in_processes: 3
:cache:
:timeframe: 2w
# Ignore entirely the files which pathname matches a specified pattern
:file_ignore:
- !ruby/regexp /guides\/v2\.3\/mrg/
- !ruby/regexp /guides\/v2\.4\/mrg/
:internal_domains:
- devdocs.magento.com
# Ignore any link that includes a specified pattern
:url_ignore:
- !ruby/regexp /guides\/v2\.2/
- !ruby/regexp /\/v2\.4\/mrg/
- !ruby/regexp /\/redoc\/2\.4\//
- !ruby/regexp /\/download\//