From 72c745e6311a693a95d7e863ea00993594f0a70b Mon Sep 17 00:00:00 2001 From: Maciej Olko Date: Sun, 19 Oct 2025 23:50:53 +0200 Subject: [PATCH] Docs: PDF: convert SVG to PDF using sphinxcontrib.rsvgconverter --- Doc/conf.py | 1 + Doc/requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/Doc/conf.py b/Doc/conf.py index a8e376c0ae44fe..855f927b79bec1 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -44,6 +44,7 @@ _OPTIONAL_EXTENSIONS = ( 'notfound.extension', 'sphinxext.opengraph', + 'sphinxcontrib.rsvgconverter', ) for optional_ext in _OPTIONAL_EXTENSIONS: try: diff --git a/Doc/requirements.txt b/Doc/requirements.txt index 7b7286429a1041..979713a365c59e 100644 --- a/Doc/requirements.txt +++ b/Doc/requirements.txt @@ -13,6 +13,7 @@ blurb sphinxext-opengraph~=0.12.0 sphinx-notfound-page~=1.0.0 +sphinxcontrib-svg2pdfconverter~=1.3.0 # The theme used by the documentation is stored separately, so we need # to install that as well.