Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 442b6aa

Browse files
committed
Setup Inkscape as svg converter for pdf builder
1 parent b61cf7d commit 442b6aa

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

poetry.lock

Lines changed: 19 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ sphinxcontrib-mermaid = "^0.8.1"
4242
sphinx-copybutton = "^0.5.2"
4343
toml = "^0.10.2"
4444
sphinx-reredirects = "^0.1.3"
45+
sphinxcontrib-svg2pdfconverter = "^1.2.2"
4546

4647
[build-system]
4748
requires = ["poetry-core>=1.0.0"]

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.9" and python_version < "4.0"
3838
sphinxcontrib-mermaid==0.8.1 ; python_version >= "3.9" and python_version < "4.0"
3939
sphinxcontrib-qthelp==1.0.6 ; python_version >= "3.9" and python_version < "4.0"
4040
sphinxcontrib-serializinghtml==1.1.9 ; python_version >= "3.9" and python_version < "4.0"
41+
sphinxcontrib-svg2pdfconverter==1.2.2 ; python_version >= "3.9" and python_version < "4.0"
4142
toml==0.10.2 ; python_version >= "3.9" and python_version < "4.0"
4243
urllib3==2.1.0 ; python_version >= "3.9" and python_version < "4.0"
4344
zipp==3.17.0 ; python_version >= "3.9" and python_version < "3.10"

src/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
master_doc = root_doc = "index"
2626
extensions = [
2727
"sphinx.ext.autodoc",
28-
"sphinx.ext.imgconverter",
2928

29+
"sphinxcontrib.inkscapeconverter",
3030
"sphinxcontrib.bibtex",
3131
"sphinxcontrib.mermaid",
3232
"sphinx_rtd_theme",

0 commit comments

Comments
 (0)