8000 Merge pull request #17693 from QuLogic/doc-pdf-svg · matplotlib/matplotlib@6f0b4bc · GitHub
[go: up one dir, main page]

Skip to content

Commit 6f0b4bc

Browse files
authored
Merge pull request #17693 from QuLogic/doc-pdf-svg
DOC: Add svg2pdf converter for generating PDF docs.
2 parents 18c16a0 + 6b47319 commit 6f0b4bc

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
'sphinx_gallery.gen_gallery',
4949
'matplotlib.sphinxext.mathmpl',
5050
'matplotlib.sphinxext.plot_directive',
51+
'sphinxcontrib.inkscapeconverter',
5152
'sphinxext.custom_roles',
5253
'sphinxext.github',
5354
'sphinxext.math_symbol_table',
@@ -69,6 +70,7 @@ def _check_dependencies():
6970
"PIL.Image": 'pillow',
7071
"sphinx_copybutton": 'sphinx_copybutton',
7172
"sphinx_gallery": 'sphinx_gallery',
73+
"sphinxcontrib.inkscapeconverter": 'sphinxcontrib-svg2pdfconverter',
7274
}
7375
missing = []
7476
for name in names:

requirements/doc/doc-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ colorspacious
1212
ipython
1313
ipywidgets
1414
numpydoc>=0.8
15+
sphinxcontrib-svg2pdfconverter>=1.1.0
1516
sphinx-gallery>=0.7
1617
sphinx-copybutton
1718
scipy

0 commit comments

Comments
 (0)
0