File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101 if : ${{ env.GENERATE_PDF == 'true' }}
102102 run : |
103103 pip install https://github.com/rkdarst/sphinx_pyppeteer_builder/archive/refs/heads/main.zip
104- make pyppeteer
104+ make SPHINXOPTS="-t pdf" pyppeteer
105105 mv _build/pyppeteer/*.pdf _build/dirhtml/${PDF_FILENAME}
106106
107107 # Stage all deployed assets in _gh-pages/ for simplicity, and to
Original file line number Diff line number Diff line change 3939 "sphinx_coderefinery_branding" ,
4040]
4141
42+
43+ if 'pdf' in tags :
44+ # Use imgmath for PDF output
45+ extensions .append ("sphinx.ext.imgmath" )
46+
4247# Settings for myst_nb:
4348# https://myst-nb.readthedocs.io/en/latest/use/execute.html#triggering-notebook-execution
4449nb_execution_mode = "cache"
You can’t perform that action at this time.
0 commit comments