We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 389d9e9 + a5e7930 commit 45f6832Copy full SHA for 45f6832
2 files changed
.github/workflows/sphinx.yml
@@ -101,7 +101,7 @@ jobs:
101
if: ${{ env.GENERATE_PDF == 'true' }}
102
run: |
103
pip install https://github.com/rkdarst/sphinx_pyppeteer_builder/archive/refs/heads/main.zip
104
- make pyppeteer
+ make SPHINXOPTS="-t pdf" pyppeteer
105
mv _build/pyppeteer/*.pdf _build/dirhtml/${PDF_FILENAME}
106
107
# Stage all deployed assets in _gh-pages/ for simplicity, and to
content/conf.py
@@ -39,6 +39,11 @@
39
"sphinx_coderefinery_branding",
40
]
41
42
+
43
+if 'pdf' in tags:
44
+ # Use imgmath for PDF output
45
+ extensions.append("sphinx.ext.imgmath")
46
47
# Settings for myst_nb:
48
# https://myst-nb.readthedocs.io/en/latest/use/execute.html#triggering-notebook-execution
49
nb_execution_mode = "cache"
0 commit comments