Skip to content

Commit b45fee6

Browse files
authored
🔧 Sync make doclinter with CI check (sphinx-doc#12156)
Unignore files in `make doclinter` command, fix the resulting issues, and use this command in the CI job
1 parent da0733b commit b45fee6

File tree

4 files changed

+125
-135
lines changed

4 files changed

+125
-135
lines changed

‎.github/workflows/lint.yml‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,7 @@ jobs:
8585
python -m pip install --upgrade pip
8686
python -m pip install --upgrade sphinx-lint
8787
- name: Lint documentation with sphinx-lint
88-
run: >
89-
sphinx-lint
90-
--enable line-too-long
91-
--max-line-length 85
92-
AUTHORS.rst
93-
CHANGES.rst
94-
CODE_OF_CONDUCT.rst
95-
CONTRIBUTING.rst
96-
README.rst
97-
doc/
88+
run: make doclinter
9889

9990
twine:
10091
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)