File tree Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,10 @@ coverage:
17
17
.PHONY : doc
18
18
.PHONY : html
19
19
doc html :
20
- python3 -c " import PIL" > /dev/null 2>&1 || python3 -m pip install .
21
20
$(MAKE ) -C docs html
22
21
23
22
.PHONY : htmlview
24
23
htmlview :
25
- python3 -c " import PIL" > /dev/null 2>&1 || python3 -m pip install .
26
24
$(MAKE ) -C docs htmlview
27
25
28
26
.PHONY : doccheck
Original file line number Diff line number Diff line change 46
46
-rm -rf $(BUILDDIR ) /*
47
47
48
48
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]
50
50
51
51
.PHONY : html
52
52
html :
Original file line number Diff line number Diff line change 22
22
# -- General configuration ------------------------------------------------
23
23
24
24
# If your documentation needs a minimal Sphinx version, state it here.
25
- needs_sphinx = "7.3 "
25
+ needs_sphinx = "8.1 "
26
26
27
27
# Add any Sphinx extension module names here, as strings. They can be
28
28
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
338
338
# https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html
339
339
_repo = "https://github.com/python-pillow/Pillow/"
340
340
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" ),
343
341
"issue" : (_repo + "issues/%s" , "#%s" ),
344
342
"pr" : (_repo + "pull/%s" , "#%s" ),
345
343
"pypi" : ("https://pypi.org/project/%s/" , "%s" ),
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ dynamic = [
43
43
optional-dependencies.docs = [
44
44
" furo" ,
45
45
" olefile" ,
46
- " sphinx>=7.3 " ,
46
+ " sphinx>=8.1 " ,
47
47
" sphinx-copybutton" ,
48
48
" sphinx-inline-tabs" ,
49
49
" sphinxext-opengraph" ,
You can’t perform that action at this time.
0 commit comments