Skip to content

Commit

Permalink
fix(pdf): run 2x
Browse files Browse the repository at this point in the history
  • Loading branch information
lmeyerov committed Oct 27, 2024
1 parent 9c010be commit b3e6dea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ build:
# build pdf
- sphinx-build -b latex -d doctrees docs _build/latexpdf
- ls _build/latexpdf
- cd _build/latexpdf && pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex && pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex && echo ok || test -f _build/latexpdf/Graphistry.pdf && echo ok2 || { echo fail && exit 1 ; }
- cd _build/latexpdf && pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex && pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex && echo ok || test -f _build/latexpdf/Graphistry.pdf && echo ok2 || { echo fail && exit 1 ; }
- cd _build/latexpdf && (pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex || test -f _build/latexpdf/Graphistry.pdf) && (pdflatex -file-line-error -interaction=nonstopmode Graphistry.tex || test -f _build/latexpdf/Graphistry.pdf) && echo ok || { echo fail && exit 1 ; }
- mkdir -p $READTHEDOCS_OUTPUT/pdf
- cp _build/latexpdf/Graphistry.pdf $READTHEDOCS_OUTPUT/pdf/Graphistry.pdf

Expand Down

0 comments on commit b3e6dea

Please sign in to comment.