Skip to content

Commit 3d9c05c

Browse files
authored
Merge pull request #8457 from hugovk/sphinx-8.1
2 parents 97438cb + fdd5d0c commit 3d9c05c

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@ coverage:
1717
.PHONY: doc
1818
.PHONY: html
1919
doc html:
20-
python3 -c "import PIL" > /dev/null 2>&1 || python3 -m pip install .
2120
$(MAKE) -C docs html
2221

2322
.PHONY: htmlview
2423
htmlview:
25-
python3 -c "import PIL" > /dev/null 2>&1 || python3 -m pip install .
2624
$(MAKE) -C docs htmlview
2725

2826
.PHONY: doccheck

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ clean:
4646
-rm -rf $(BUILDDIR)/*
4747

4848
install-sphinx:
49-
$(PYTHON) -m pip install --quiet furo olefile sphinx sphinx-copybutton sphinx-inline-tabs sphinxext-opengraph
49+
$(PYTHON) -m pip install -e ..[docs]
5050

5151
.PHONY: html
5252
html:

docs/conf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# -- General configuration ------------------------------------------------
2323

2424
# If your documentation needs a minimal Sphinx version, state it here.
25-
needs_sphinx = "7.3"
25+
needs_sphinx = "8.1"
2626

2727
# Add any Sphinx extension module names here, as strings. They can be
2828
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -338,8 +338,6 @@
338338
# https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html
339339
_repo = "https://github.com/python-pillow/Pillow/"
340340
extlinks = {
341-
"cve": ("https://www.cve.org/CVERecord?id=CVE-%s", "CVE-%s"),
342-
"cwe": ("https://cwe.mitre.org/data/definitions/%s.html", "CWE-%s"),
343341
"issue": (_repo + "issues/%s", "#%s"),
344342
"pr": (_repo + "pull/%s", "#%s"),
345343
"pypi": ("https://pypi.org/project/%s/", "%s"),

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dynamic = [
4343
optional-dependencies.docs = [
4444
"furo",
4545
"olefile",
46-
"sphinx>=7.3",
46+
"sphinx>=8.1",
4747
"sphinx-copybutton",
4848
"sphinx-inline-tabs",
4949
"sphinxext-opengraph",

0 commit comments

Comments
 (0)