mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[3.12] Docs: move sphinx-lint to pre-commit (GH-105750) (#105894)
Docs: move sphinx-lint to pre-commit (GH-105750)
(cherry picked from commit bc07c8f096)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
b34f1df5fa
commit
6baddd9fb2
5 changed files with 11 additions and 14 deletions
4
.github/workflows/doc.yml
vendored
4
.github/workflows/doc.yml
vendored
|
|
@ -51,8 +51,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
|
||||
|
||||
|
|
@ -82,8 +80,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