ammaraskar / sphinx-action

Github action that builds docs using sphinx and places errors inline
Apache License 2.0
194 stars 116 forks source link

Creating PDF output? #3

Closed mgeier closed 4 years ago

mgeier commented 4 years ago

AFAICT, only make html is called, is it possible to create PDF output, too?

I guess you would need a Docker image with LaTeX installed ... I have used https://github.com/dante-ev/docker-texlive on CircleCI and it worked great, but probably there is a better suited image?

ammaraskar commented 4 years ago

Sorry for the late reply, in combination with your other issue this should now be possible. In this test repo I build the pdf and install the tex dependencies before-hand:

https://github.com/ammaraskar/sphinx-action-test/blob/dfbc77eb2ad027cdc3a1e5522b2c73729377724c/.github/workflows/default.yml#L25

mgeier commented 4 years ago

Thanks, this is great!