diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index d0f4fc83f..eb8d1191b 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -25,9 +25,16 @@ jobs: with: # Markdown across the repo; node_modules and other gitignored paths are # skipped automatically. Tune ignored URLs in .lycheeignore. + # Docusaurus serves root-relative links: /img/... from docs/static and + # /
/ from docs/docs/
/.md(x). Resolve both + # so lychee checks those targets exist instead of reporting them as + # unresolvable. args: >- --no-progress --cache --max-cache-age 1d --exclude-path infra/docker/data + --root-dir ${{ github.workspace }}/docs/static + --remap 'file://${{ github.workspace }}/docs/static/(administration|developer|features|guides|install|overview|releases)/(.+) file://${{ github.workspace }}/docs/docs/$1/$2' + --fallback-extensions md,mdx './**/*.md' './**/*.mdx' fail: false # don't fail the run; we report via an issue instead - name: Find existing broken-links issue diff --git a/.lycheeignore b/.lycheeignore index 07560a57f..5d8550e14 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -14,3 +14,9 @@ # npm package page returns 403 to lychee although the documentation link is valid. ^https://www\.npmjs\.com/package/@openmapx/extension-sdk$ + +# OTP GraphQL API endpoints accept POST queries only; a plain GET returns 405/500. +^https://api\.stadtnavi\.de/otp/gtfs/v1$ +^https://api\.peatus\.ee/routing/v1/routers/estonia/index/graphql$ +^https://mapi\.5t\.torino\.it/routing/v1/routers/mat/index/graphql$ +^https://otp281\.trufi\.app/otp/transmodel/v3$