mirror of
https://github.com/python/cpython.git
synced 2025-11-19 02:39:15 +00:00
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>
19 lines
544 B
Text
19 lines
544 B
Text
# Requirements to build the Python documentation
|
|
#
|
|
# Note that when updating this file, you will likely also have to update
|
|
# the Doc/constraints.txt file.
|
|
|
|
# Sphinx version is pinned so that new versions that introduce new warnings
|
|
# won't suddenly cause build failures. Updating the version is fine as long
|
|
# as no warnings are raised by doing so.
|
|
sphinx==4.5.0
|
|
|
|
blurb
|
|
|
|
sphinxext-opengraph==0.7.5
|
|
|
|
# The theme used by the documentation is stored separately, so we need
|
|
# to install that as well.
|
|
python-docs-theme>=2022.1
|
|
|
|
-c constraints.txt
|