File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ htmlhelp: build
8888 " build/htmlhelp/pydoc.hhp project file."
8989
9090.PHONY : latex
91+ latex : _ensure-sphinxcontrib-svg2pdfconverter
9192latex : BUILDER = latex
9293latex : build
9394 @echo " Build finished; the LaTeX files are in build/latex."
@@ -231,7 +232,7 @@ dist-text:
231232 @echo " Build finished and archived!"
232233
233234.PHONY : dist-pdf
234- dist-pdf :
235+ dist-pdf : _ensure-sphinxcontrib-svg2pdfconverter
235236 # archive the A4 latex
236237 @echo " Building LaTeX (A4 paper)..."
237238 mkdir -p dist
@@ -292,6 +293,10 @@ _ensure-pre-commit:
292293_ensure-sphinx-autobuild :
293294 $(MAKE ) _ensure-package PACKAGE=sphinx-autobuild
294295
296+ .PHONY : _ensure-sphinxcontrib-svg2pdfconverter
297+ _ensure-sphinxcontrib-svg2pdfconverter :
298+ $(MAKE ) _ensure-package PACKAGE=sphinxcontrib-svg2pdfconverter
299+
295300.PHONY : check
296301check : _ensure-pre-commit
297302 $(VENVDIR ) /bin/python3 -m pre_commit run --all-files
Original file line number Diff line number Diff line change 4545 'linklint.ext' ,
4646 'notfound.extension' ,
4747 'sphinxext.opengraph' ,
48+ 'sphinxcontrib.rsvgconverter' ,
4849)
4950for optional_ext in _OPTIONAL_EXTENSIONS :
5051 try :
You can’t perform that action at this time.
0 commit comments