xrefcheck/.crossref-verifier.yaml
martoon 90e160e7d2
Allow to specify virtual files
For instance, reference to `issues` github page is a valid one despite there is no such
file physically in the repository.

Now user can specify list of "existing" virtual files in config.
2019-03-13 15:29:33 +03:00

30 lines
890 B
YAML

# Parameters of repository traversal.
traversal:
# Full paths which should be excluded from consideration.
excluded:
# Stack files
- .stack-work
# Github-specific files
- .github/pull_request_template.md
- docs/pull_request_template.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
# Glob patterns describing the files which do not physically exist in the repository
# but should be treated as existing nevertheless.
virtualFiles:
# Github pages
- ../../issues
- ../../issues/*
- ../../pulls
- ../../pulls/*