From 9a04e4d011ca4ac72dd99a36324a93ed9b8f7710 Mon Sep 17 00:00:00 2001 From: Keith Beattie Date: Fri, 28 Feb 2025 14:26:57 -0800 Subject: [PATCH 1/2] Add PDF generation by ReadTheDocs --- .readthedocs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index f8b3c31c57..563e6df7ce 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -16,6 +16,9 @@ sphinx: fail_on_warning: false configuration: docs/conf.py +formats: + - pdf + python: install: - requirements: requirements-dev.txt From 30101b728a11385883b4892dbd4671f6eb823dd4 Mon Sep 17 00:00:00 2001 From: Keith Beattie Date: Thu, 13 Mar 2025 15:38:19 -0700 Subject: [PATCH 2/2] Attempt at fixing a few undefined unicode chars --- docs/conf.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 3171de2567..fa44e7641b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -170,7 +170,12 @@ def __call__(self, app, docname, source): # -- Options for LaTeX output --------------------------------------------- latex_elements = { - "preamble": r"\usepackage{enumitem}\setlistdepth{99}", + "preamble": r''' +\usepackage{enumitem} +\setlistdepth{99} +\DeclareUnicodeCharacter{22C5}{$\cdot$} +\DeclareUnicodeCharacter{21AA}{$\hookrightarrow$} +''', } # Grouping the document tree into LaTeX files. List of tuples