forked from mendix/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htmltest.yml
49 lines (46 loc) · 1.55 KB
/
.htmltest.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
# ==========================
# Configuration for HTMLTEST
# ==========================
# See documentation in repo: https://github.com/wjdp/htmltest
DirectoryPath: "./public"
DirectoryIndex: "index.html"
FileExtension: .html
# Do not check external files - will want to do this monthly or so - implement later
CheckExternal: false
CheckMailto: false
# Not checking scripts for speed - should be OK as generated through HUGO
CheckScripts: false
CheckTel: false
IgnoreAltMissing: true
IgnoreDirectoryMissingTrailingSlash: false
IgnoreDirs:
- "_includes"
- "_print"
- "attachments"
- "css"
- "favicons"
- "icons"
- "js"
- "scss"
- "webfonts"
IgnoreEmptyHref: true
IgnoreInternalEmptyHash: true
IgnoreInternalURLs:
- "/misc/js/script.js"
- "/js/"
# HUGO generates a lot of tags which don't need to be tested
IgnoreTagAttribute: "data-proofer-ignore"
# Ignore URLs which return a 401/403 authentication error - might want to check these ignored URLs occasionally to ensure they are still valid.
# NOTE DOUBLE \\ needed to escape special characters in the string
IgnoreURLs:
- "example.com"
- "support.mendix.com.*"
- "sapes5.sapdevcenter.com/sap/opu/odata/iwbep/GWSAMPLE_BASIC.*"
- "www.microsoft.com/en-us/download/details.aspx\\?id=11774"
# ==========================================================
# Speed up using concurrent testing by changing flag to true
# Using 4 concurrent documents halves the processing time
# EXPERIMENTAL - REMOVE IF THERE ARE PROBLEMS
#===========================================================
TestFilesConcurrently: false
DocumentConcurrencylimit: 4