mdlinkcheck: detect and check "raw" links

- URLs specified outside of the markdown []() are now extracted and
  checked

- also check TODO, FAQ and KNOWN_BUGS

- more aggressive avoiding to check github.com/curl/curl, all uses of
  example domains and some more established URLs on the curl.se site

- list all errors in the end to make them easier to spot in CI logs

Closes #19848
This commit is contained in:
Daniel Stenberg 2025-12-05 11:45:35 +01:00
parent ca24b6a061
commit 51587f6f14
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 68 additions and 18 deletions

View file

@ -15,8 +15,7 @@ name: 'Docs'
paths:
- '.github/workflows/checkdocs.yml'
- '.github/scripts/**'
- '.github/scripts/mdlinkcheck'
- '/scripts/**'
- 'scripts/**'
- '**.md'
- 'docs/*'
pull_request:
@ -25,8 +24,7 @@ name: 'Docs'
paths:
- '.github/workflows/checkdocs.yml'
- '.github/scripts/**'
- '.github/scripts/mdlinkcheck'
- '/scripts/**'
- 'scripts/**'
- '**.md'
- 'docs/*'