[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:09:24 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:
> (seems that modifying Dockerfile doesn't work in permerge CI)
Yes, we need to do it in 2 steps:
First make a PR with new dockerfile and push it to main branch. It will become the default of https://github.com/llvm/llvm-project/pkgs/container/ci-ubuntu-24.04-lint.
Then, in this PR you will be able to use Dockerfile with doc8 installed.
https://github.com/llvm/llvm-project/pull/168827
More information about the llvm-commits
mailing list