diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fb860bbb0e9..9153202fe98 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,5 +42,10 @@ repos: - id: check-merge-conflict - id: check-yaml + - repo: https://github.com/sphinx-contrib/sphinx-lint + rev: v0.6 + hooks: + - id: sphinx-lint + ci: - autoupdate_schedule: quarterly + autoupdate_schedule: monthly diff --git a/winbuild/build.rst b/winbuild/build.rst index 661c5a5ecea..af7c558cf67 100644 --- a/winbuild/build.rst +++ b/winbuild/build.rst @@ -42,9 +42,8 @@ behaviour of ``build_prepare.py``: If ``PYTHON`` is unset, the version of Python used to run ``build_prepare.py`` will be used. If only ``PYTHON`` is set, ``EXECUTABLE`` defaults to ``python.exe``. -* ``ARCHITECTURE`` is used to select a ``x86``, ``x64`` or ``ARM64``build. +* ``ARCHITECTURE`` is used to select a ``x86``, ``x64`` or ``ARM64`` build. By default, uses same architecture as the version of Python used to run ``build_prepare.py``. - is used. * ``PILLOW_BUILD`` can be used to override the ``winbuild\build`` directory path, used to store generated build scripts and compiled libraries. **Warning:** This directory is wiped when ``build_prepare.py`` is run.