# Keep this file focused on temporary or flaky suppressions.
# Stable repo-wide behavior should live in `lychee.toml`.

# GNU Make website is intermittently timing out from CI/hook network
^https://www\.gnu\.org/software/make/?$

# =============================================================================
# Astro/Starlight Internal Documentation Links
# These links are resolved by Astro at build time, not real URLs
# =============================================================================

# Root-relative links with base path /starter-gradle
# Matches: /starter-gradle/en/guides/any-page, /starter-gradle/es/api/any-page, etc.
^/starter-gradle/(en|es)/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+/?$
^/starter-gradle/$

# Links without base path
^/(en|es)/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+/?$

# Any path under /guides/ (cualquier página en guides)
/guides/[a-zA-Z0-9_-]+/?$

# Any path under /en/ or /es/ (cualquier sección, no solo guides)
/(en|es)/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+/?$

# Relative links in markdown: ./pagename/, ../guides/pagename/, ../section/pagename/
^\./[a-zA-Z0-9_-]+/?$
^\.\./[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+/?$
^\.\./[a-zA-Z0-9_-]+/?$

# Root link in 404 pages
^/$

# Fragment-only links (anchors) - cualquier anchor
^#.+$

# Any path-like string without scheme used in frontmatter
# Matches: guides/pagename/, api/reference/, etc.
^[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+/?$

# =============================================================================
# Temporary Network Issues (HTTP/2 errors from GitHub/dependabot)
# =============================================================================

# HTTP/2 protocol errors from GitHub
^https://github\.com/dallay/corvus/blob/main/.github/MAINTENANCE\.md$
^https://github\.com/dallay/corvus/blob/main/.github/workflows/README\.md$
^https://github\.com/dallay/corvus/blob/main/.github/CONTRIBUTING\.md$
^https://github\.com/dallay/corvus/releases$

# Kotlin kover issues page
^https://github\.com/Kotlin/kotlinx-kover/issues/746$

# Dependabot PRs
^https://github\.com/jjohannes/gradle-project-setup-howto/pulls/app%2Fdependabot$

# External sites with intermittent connectivity
^https://aieos\.org/

# Security advisories page
^https://github\.com/dallay/corvus/security/advisories/new$

# =============================================================================
# Local Favicon References (served from public/ in Vite apps)
# =============================================================================
^file://.*/clients/web/apps/chat/favicon\.svg$
^file://.*/clients/web/apps/dashboard/favicon\.svg$

# Mermaid and PlantUML diagrams
.*\.mmd$
.*\.puml$
^/guides/architecture/diagrams/.*
