mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
13a123beac
Several external domains frequently timeout during link checking. Fixes #8495 Signed-off-by: Charlie Egan <charlie_egan@apple.com>
36 lines
1.0 KiB
TOML
36 lines
1.0 KiB
TOML
# Lychee configuration for checking the built docs website
|
|
|
|
no_progress = true
|
|
max_concurrency = 1
|
|
max_retries = 1
|
|
retry_wait_time = 5
|
|
accept = ["200..=206", "403", "429"]
|
|
scheme = ["https", "http"]
|
|
|
|
# Root dir must be an absolute path, set as CLI arg with --root-dir
|
|
# root_dir = ...
|
|
|
|
exclude = [
|
|
# Exclude openpolicyagent.org links in the built site as they're internal links
|
|
# that are validated at build time by Docusaurus.
|
|
'openpolicyagent\.org',
|
|
# These domains block the link checker creating false positives
|
|
'medium\.com',
|
|
'blog\.openpolicyagent\.org',
|
|
'itnext\.io',
|
|
'stacklok\.com',
|
|
# These domains frequently timeout, causing false positives
|
|
# e.g. https://github.com/open-policy-agent/opa/issues/8495
|
|
'opa-docs\.netlify\.app',
|
|
'kind\.sigs\.k8s\.io',
|
|
'openpolicycontainers\.com',
|
|
'permit\.io',
|
|
'aserto\.com',
|
|
]
|
|
|
|
exclude_path = [
|
|
# some libraries contain files that we don't control and so do not need to be
|
|
# checked
|
|
'docs/build/assets/js',
|
|
]
|