Skip to content

Commit 6f638e9

Browse files
committed
Use pymarkdownlnt add to format.sh
Signed-off-by: Rafael Vasquez <[email protected]>
1 parent d4a6be7 commit 6f638e9

File tree

5 files changed

+8
-15
lines changed

5 files changed

+8
-15
lines changed

.github/workflows/sphinx-lint.yml renamed to .github/workflows/doc-lint.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,4 @@ jobs:
2929
python -m pip install --upgrade pip
3030
pip install -r requirements-lint.txt
3131
- name: Linting docs
32-
run: tools/sphinx-lint.sh
33-
markdown-lint:
34-
runs-on: ubuntu-latest
35-
steps:
36-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
37-
- uses: DavidAnson/markdownlint-cli2-action@v19
38-
with:
39-
globs: "docs/**/*.md"
32+
run: tools/doc-lint.sh

format.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,6 @@ else
316316
echo "✨🎉 Format check passed! Congratulations! 🎉✨"
317317
fi
318318

319-
echo 'vLLM sphinx-lint:'
320-
tools/sphinx-lint.sh
321-
echo 'vLLM sphinx-lint: Done'
319+
echo 'vLLM doc-lint:'
320+
tools/doc-lint.sh
321+
echo 'vLLM doc-lint: Done'

requirements-lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ruff==0.6.5
66
codespell==2.3.0
77
isort==5.13.2
88
clang-format==18.1.5
9-
sphinx-lint==1.0.0
9+
pymarkdownlnt==0.9.26
1010

1111
# type checking
1212
mypy==1.11.1

tools/doc-lint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
pymarkdownlnt -d line-length scan docs/ -r

tools/sphinx-lint.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)