Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ build:
html:
- pixi run sphinx-build -T -W --keep-going -b html -d _build/doctrees -D language=en doc $READTHEDOCS_OUTPUT/html
pdf:
- pixi run sphinx-build -T -b latex -d _build/doctrees -D language=en doc $READTHEDOCS_OUTPUT/pdf
- cd $READTHEDOCS_OUTPUT/pdf
- cat latexmkrc
- latexmk -r latexmkrc -pdf -f -dvi- -ps- -jobname=esmvalcore -interaction=nonstopmode
- pixi run sphinx-build -T -b latex -d _build/doctrees -D language=en doc $READTHEDOCS_OUTPUT/pdf-build
- cat $READTHEDOCS_OUTPUT/pdf-build/latexmkrc
- cd $READTHEDOCS_OUTPUT/pdf-build && latexmk -r latexmkrc -pdf -f -dvi- -ps- -jobname=esmvalcore -interaction=nonstopmode; mkdir $READTHEDOCS_OUTPUT/pdf && mv esmvalcore.pdf $READTHEDOCS_OUTPUT/pdf

# If using Sphinx, optionally build your docs in additional formats such as PDF
formats:
Expand Down