]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
checkdocs: trim links off docs/ markdowns before spellcheck
authorDaniel Stenberg <daniel@haxx.se>
Fri, 3 Jan 2025 16:47:37 +0000 (17:47 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 3 Jan 2025 17:38:04 +0000 (18:38 +0100)
So that we can use words in links without having them spellchecked.

Closes #15910

.github/workflows/checkdocs.yml

index a381463c16dd117a11541e7c09705d49f8c74638..79831d31d93429e1390f5f4e7ab0104b153e9c2a 100644 (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