From 0cfd7cc78a0bc541ac62c2f8362ad97d35dde6ec Mon Sep 17 00:00:00 2001 From: "Alex Davies (aider)" Date: Wed, 16 Oct 2024 11:48:39 -0300 Subject: [PATCH] feat: Enable syntax highlighting for PDFs in Sphinx configuration --- docs/source/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 1d41b21..04fc6ae 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -65,3 +65,6 @@ html_theme_options = { latex_engine = "xelatex" # Configure LaTeX options for PDF generation latex_show_urls = 'footnote' + +# Enable syntax highlighting for PDFs +pygments_style = 'sphinx'