8000 DOC: Add svg2pdf converter for generating PDF docs. · matplotlib/matplotlib@6b47319 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6b47319

Browse files
committed
DOC: Add svg2pdf converter for generating PDF docs.
This is needed in order to build a PDF, as the Zenodo citation images are SVGs. The specified minimum version supports Inkscape 1.
1 parent 1a2b8e9 commit 6b47319

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