From f62be9cfb66c65ec53ce7b3dd04cd7af94f6ab85 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 3 Jan 2025 17:47:37 +0100 Subject: [PATCH] checkdocs: trim links off docs/ markdowns before spellcheck So that we can use words in links without having them spellchecked. Closes #15910 --- .github/workflows/checkdocs.yml | 3 +++ 1 file changed, 3 insertions(+) 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