[llvm] [Github][CI] Add `doc8` for clang-tidy documentation formatting (PR #168827)

Baranov Victor via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 04:13:41 PST 2025


================
@@ -71,25 +71,41 @@ jobs:
                 -DLLVM_INCLUDE_TESTS=OFF \
                 -DCLANG_INCLUDE_TESTS=OFF \
                 -DCMAKE_BUILD_TYPE=Release
-          
+
           ninja -C build \
                 clang-tablegen-targets \
                 genconfusable               # for "ConfusableIdentifierCheck.h"
 
-      - name: Run code linter
+      - name: Install linter dependencies
+        run: pip install doc8 --break-system-packages
----------------
vbvictor wrote:

Another approach would be: build CI lint container locally and push it to LLVM github containers via personal token.
I did such thing in https://github.com/llvm/llvm-project/pull/164294.

I have a setup already so can do it myself and then we can test with real container.

https://github.com/llvm/llvm-project/pull/168827


More information about the llvm-commits mailing list