1
0
mirror of https://github.com/django/django.git synced 2025-08-20 08:49:13 +00:00

Improved docs.yml GitHub Action covering docs quality checks.

This change renames the `docs` job to `spelling` to better reflect its
purpose. It also removes the unused `--keep-going` flag, since starting
with Sphinx 8.1, `--keep-going` is enabled by default.

See:
https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-keep-going
This commit is contained in:
David Smith 2025-08-08 07:34:35 +01:00 committed by nessita
parent c1aa4a7a79
commit 7a80e29fea

View File

@ -22,7 +22,7 @@ permissions:
jobs:
docs:
runs-on: ubuntu-24.04
name: docs
name: spelling
steps:
- name: Checkout
uses: actions/checkout@v4
@ -36,7 +36,7 @@ jobs:
- name: Build docs
run: |
cd docs
sphinx-build -b spelling -n -q -W --keep-going -d _build/doctrees -D language=en_US -j auto . _build/spelling
sphinx-build -b spelling -n -q -W -d _build/doctrees -D language=en_US -j auto . _build/spelling
blacken-docs:
runs-on: ubuntu-latest