From 8893d1365571f03f7e7e7f75970fa20a798ab8ca Mon Sep 17 00:00:00 2001 From: TG Date: Mon, 27 Jan 2025 16:21:55 +0100 Subject: Use rsvgconverter sphinx extension to convert svg to pdf --- docs/source/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/source/conf.py') diff --git a/docs/source/conf.py b/docs/source/conf.py index 6036d28..565663d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -13,7 +13,9 @@ author = 'YosysHQ' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration -extensions = ['sphinx_rtd_theme'] +extensions = ['sphinx_rtd_theme', + 'sphinxcontrib.rsvgconverter' + ] templates_path = ['_templates'] exclude_patterns = [] -- cgit v1.2.3 From 213d116050410a9e83166c8f88965183396f32d8 Mon Sep 17 00:00:00 2001 From: TG Date: Mon, 27 Jan 2025 16:22:50 +0100 Subject: Use Lualatex instead of plain pdfatex --- docs/source/conf.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/source/conf.py') diff --git a/docs/source/conf.py b/docs/source/conf.py index 565663d..1d22dbf 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -33,3 +33,5 @@ html_theme_options = { "titles_only": False } html_static_path = ['_static'] + +latex_engine = 'lualatex' -- cgit v1.2.3