From ef23cd944402939605c78a4a853ef6e33af02c21 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 17 Aug 2026 05:30:05 +0800 Subject: feat(ci): add translated docs structure consistency check Add a new CI check that verifies translated docs directories mirror the English reference structure, comparing structural signatures of markdown files including headings, code fences, and list types. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ef1bbb..a8e1281 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,10 @@ jobs: - run: cargo ci --check-${{ matrix.item }} + - name: Check translated docs structure consistency + if: matrix.item == 'markdown-code' + run: cargo ci --check-docs-structure + - name: Upload docs test result on failure if: failure() && matrix.item == 'markdown-code' uses: actions/upload-artifact@v4 -- cgit