I recently started to use the sphinxcontrib-programoutput extension to help keep help output in the docs from a command-line in sync with what's actually generated by the code. It works fine when I build the docs locally but fails with "No such file or directory" errors when it build on readthedocs. See
http://salishsea-meopar-tools.readthedocs.org/en/latest/SalishSeaCmd/salishsea-cmd.html#available-commandsSo, I guess the first question is: Is it even possible for this to work as it required my packages command to run in the rtd environment?
I'm using a virtualenv build and installing my package via a -e line in my docs/requirements.txt file. I can see from the build logs (
https://readthedocs.org/builds/salishsea-meopar-tools/1318308/ for example) that the package and its dependencies all install successfully in the venv, and the script is apparently in the venv bin/ directory. So, the only thing that I can think of is that the venv bin/ is not in the PATH.
Any suggestions on how to make this work, or am I just asking too much?
tia...
Doug