From: Daniel Stenberg Date: Fri, 3 Jan 2025 16:47:37 +0000 (+0100) Subject: checkdocs: trim links off docs/ markdowns before spellcheck X-Git-Tag: curl-8_12_0~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f62be9cfb66c65ec53ce7b3dd04cd7af94f6ab85;p=thirdparty%2Fcurl.git checkdocs: trim links off docs/ markdowns before spellcheck So that we can use words in links without having them spellchecked. Closes #15910 --- diff --git a/.github/workflows/checkdocs.yml b/.github/workflows/checkdocs.yml index a381463c16..79831d31d9 100644 --- a/.github/workflows/checkdocs.yml +++ b/.github/workflows/checkdocs.yml @@ -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