checkdocs: trim links off docs/ markdowns before spellcheck

So that we can use words in links without having them spellchecked.

Closes #15910
This commit is contained in:
Daniel Stenberg 2025-01-03 17:47:37 +01:00
parent cc16211a30
commit f62be9cfb6
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -120,6 +120,9 @@ jobs:
- name: trim cmdline docs markdown _*.md files
run: find docs/cmdline-opts -name "_*.md" -print0 | xargs -0 -n1 .github/scripts/cleancmd.pl --no-header
- name: trim docs/ markdown _*.md files
run: git ls-files docs/*.md docs/internals/*.md | xargs -n1 .github/scripts/cleancmd.pl --no-header
- name: setup the custom wordlist
run: grep -v '^#' .github/scripts/spellcheck.words > wordlist.txt