forked from MinaProtocol/mina
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xrefcheck.yaml
63 lines (55 loc) · 1.86 KB
/
.xrefcheck.yaml
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
# Parameters of repository traversal.
traversal:
# Files and folders which we pretend do not exist
# (so they are neither analyzed nor can be referenced).
ignored:
# Git files
- .git
# Build artifacts
- _build
- _opam
# Git submodules
- src/external
- src/lib/marlin
- src/lib/crypto/proof-systems
- src/lib/snarky
- frontend/wallet/tablecloth
# Unsure of the relevance anymore
- frontend/wallet/README.md
# Verification parameters.
verification:
# On 'anchor not found' error, how much similar anchors should be displayed as
# hint. Number should be between 0 and 1, larger value means stricter filter.
anchorSimilarityThreshold: 0.5
# When checking external references, how long to wait on request before
# declaring "Response timeout".
externalRefCheckTimeout: 10s
# Prefixes of files, references in which should not be analyzed.
notScanned:
- .github/pull_request_template.md
- .github/issue_template.md
- .github/PULL_REQUEST_TEMPLATE
- .github/ISSUE_TEMPLATE
# Glob patterns describing the files which do not physically exist in the
# repository but should be treated as existing nevertheless.
virtualFiles:
- ../../../issues
- ../../../issues/*
- ../../../pulls
- ../../../pulls/*
# POSIX extended regular expressions that match external references
# that have to be ignored (not verified).
# It is an optional parameter, so it can be omitted.
ignoreRefs:
- "https://github.com/.*" # Otherwise Resource unavailable (429 too many requests)
# Check localhost links.
checkLocalhost: false
# Skip links which return 403 or 401 code.
ignoreAuthFailures: true
# Parameters of scanners for various file types.
scanners:
markdown:
# Flavor of markdown, e.g. GitHub-flavor.
#
# This affects which anchors are generated for headers.
flavor: GitHub