mirror of
https://github.com/python/cpython.git
synced 2026-01-04 22:42:14 +00:00
Docs: move sphinx-lint to pre-commit (#105750)
This commit is contained in:
parent
dba7217511
commit
bc07c8f096
5 changed files with 11 additions and 14 deletions
4
.github/workflows/reusable-docs.yml
vendored
4
.github/workflows/reusable-docs.yml
vendored
|
|
@ -28,8 +28,6 @@ jobs:
|
|||
cache-dependency-path: 'Doc/requirements.txt'
|
||||
- name: 'Install build dependencies'
|
||||
run: make -C Doc/ venv
|
||||
- name: 'Check documentation'
|
||||
run: make -C Doc/ check
|
||||
- name: 'Build HTML documentation'
|
||||
run: make -C Doc/ SPHINXOPTS="-q" SPHINXERRORHANDLING="-W --keep-going" html
|
||||
|
||||
|
|
@ -59,8 +57,6 @@ jobs:
|
|||
make -C Doc/ PYTHON=../python SPHINXOPTS="-q -n -W --keep-going" html 2>&1
|
||||
|
||||
# This build doesn't use problem matchers or check annotations
|
||||
# It also does not run 'make check', as sphinx-lint is not installed into the
|
||||
# environment.
|
||||
build_doc_oldest_supported_sphinx:
|
||||
name: 'Docs (Oldest Sphinx)'
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue