mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Merge pull request #7985 from radarhere/sphinx
This commit is contained in:
commit
afd01bda62
|
@ -22,7 +22,7 @@ import PIL
|
||||||
# -- General configuration ------------------------------------------------
|
# -- General configuration ------------------------------------------------
|
||||||
|
|
||||||
# If your documentation needs a minimal Sphinx version, state it here.
|
# If your documentation needs a minimal Sphinx version, state it here.
|
||||||
needs_sphinx = "2.4"
|
needs_sphinx = "7.3"
|
||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be
|
# Add any Sphinx extension module names here, as strings. They can be
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||||
|
@ -121,12 +121,7 @@ nitpicky = True
|
||||||
# generating warnings in “nitpicky mode”. Note that type should include the domain name
|
# generating warnings in “nitpicky mode”. Note that type should include the domain name
|
||||||
# if present. Example entries would be ('py:func', 'int') or
|
# if present. Example entries would be ('py:func', 'int') or
|
||||||
# ('envvar', 'LD_LIBRARY_PATH').
|
# ('envvar', 'LD_LIBRARY_PATH').
|
||||||
nitpick_ignore = [
|
# nitpick_ignore = []
|
||||||
# Sphinx does not understand typing.Literal[-1]
|
|
||||||
# Will be fixed in a future version.
|
|
||||||
# https://github.com/sphinx-doc/sphinx/pull/11904
|
|
||||||
("py:obj", "typing.Literal[-1, 1]"),
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for HTML output ----------------------------------------------
|
# -- Options for HTML output ----------------------------------------------
|
||||||
|
|
|
@ -42,7 +42,7 @@ dynamic = [
|
||||||
docs = [
|
docs = [
|
||||||
"furo",
|
"furo",
|
||||||
"olefile",
|
"olefile",
|
||||||
"sphinx>=2.4",
|
"sphinx>=7.3",
|
||||||
"sphinx-copybutton",
|
"sphinx-copybutton",
|
||||||
"sphinx-inline-tabs",
|
"sphinx-inline-tabs",
|
||||||
"sphinx-removed-in",
|
"sphinx-removed-in",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user