Skip to content

Commit

Permalink
Fix PDF docs build
Browse files Browse the repository at this point in the history
Use sphinxcontrib-svg2pdfconverter to convert SVG images to PDF for
inclusion in the PDF build.
  • Loading branch information
bmerry committed Nov 7, 2024
1 parent cd787a3 commit 063572b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ build:
- libboost-dev
- libdivide-dev
- pdf2svg
- inkscape
tools:
python: "3.12"
python:
Expand Down
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def get_version():
"sphinx.ext.mathjax",
"sphinx.ext.napoleon",
"sphinxcontrib.tikz",
"sphinxcontrib.inkscapeconverter",
"sphinx_design",
"sphinx_rtd_theme",
"breathe",
Expand Down
1 change: 1 addition & 0 deletions requirements-readthedocs.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ sphinx
sphinx-design
sphinx-rtd-theme
sphinxcontrib-tikz
sphinxcontrib-svg2pdfconverter
breathe
-r requirements.txt
1 change: 1 addition & 0 deletions requirements-readthedocs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ sphinxcontrib-jquery==4.1
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-serializinghtml==2.0.0
sphinxcontrib-svg2pdfconverter==1.2.3
sphinxcontrib-tikz==0.4.20
tomli==2.0.2
urllib3==2.2.2

0 comments on commit 063572b

Please sign in to comment.