diff --git a/.readthedocs.yml b/.readthedocs.yml index c915ed1..8893766 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -41,6 +41,7 @@ build: - 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 ; } - mkdir -p $READTHEDOCS_OUTPUT/pdf - cp _build/latexpdf/Graphistry.pdf $READTHEDOCS_OUTPUT/pdf/Graphistry.pdf