ammaraskar / sphinx-action

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

support nbsphinx #14

Closed lgvaz closed 4 years ago

lgvaz commented 4 years ago

I'm using nbsphinx which uses pandoc. My docs always failed to build because pandoc was never found, I tried installing it using several methods:

Both methods failed, I guess the first one failed because it did not created a pandoc shortcut for the system, and the second failed because this actions uses a custom Docker file?

Any tips on how should I install pandoc?

lgvaz commented 4 years ago

Just found the answer, system level dependencies can be installed with:

pre-build-command: "apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended"

Thanks 😁