File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 9999 - name : Docs
100100 if : startsWith(matrix.os, 'ubuntu') && matrix.python-version == 3.10
101101 run : |
102- python3 -m pip install furo sphinx-copybutton sphinx-issues sphinx-removed-in sphinxext-opengraph
103102 make doccheck
104103
105104 - name : After success
Original file line number Diff line number Diff line change @@ -17,11 +17,13 @@ coverage:
1717
1818.PHONY : doc
1919doc :
20+ python3 -c " import PIL" > /dev/null 2>&1 || python3 -m pip install .
21+ python3 -c " import olefile" > /dev/null 2>&1 || python3 -m pip install olefile
2022 $(MAKE ) -C docs html
2123
2224.PHONY : doccheck
2325doccheck :
24- $(MAKE ) -C docs html
26+ $(MAKE ) doc
2527# Don't make our tests rely on the links in the docs being up every single build.
2628# We don't control them. But do check, and update them to the target of their redirects.
2729 $(MAKE) -C docs linkcheck || true
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ clean:
4444
4545install-sphinx :
4646 $(PYTHON ) -c " import sphinx" > /dev/null 2>&1 || $(PYTHON ) -m pip install sphinx
47+ $(PYTHON ) -c " import sphinx_copybutton" > /dev/null 2>&1 || $(PYTHON ) -m pip install sphinx-copybutton
48+ $(PYTHON ) -c " import sphinx_issues" > /dev/null 2>&1 || $(PYTHON ) -m pip install sphinx-issues
49+ $(PYTHON ) -c " import sphinx_removed_in" > /dev/null 2>&1 || $(PYTHON ) -m pip install sphinx-removed-in
50+ $(PYTHON ) -c " import sphinxext_opengraph" > /dev/null 2>&1 || $(PYTHON ) -m pip install sphinxext-opengraph
4751 $(PYTHON ) -c " import furo" > /dev/null 2>&1 || $(PYTHON ) -m pip install furo
4852
4953html :
You can’t perform that action at this time.
0 commit comments