1

I'm using default sphinx-quickstart and Ubuntu 18.01

I'm having this issue with Jenkins when I try to do make html

/bin/sh: 1: sphinx-build: not found
Makefile:19: recipe for target 'html' failed

It works fine when I do the make html while in a terminal...

What could be the issue?

More information: I'm using the same user (tested with whoami) and I have installed sphinx using pip

HRK44
  • 2,382
  • 2
  • 13
  • 30

1 Answers1

2

I found a workaround based on one answer here

I changed the SPHINXBUILD to SPHINXBUILD = python -m sphinx. I'm not sure this is the best way to do it, but at least it works.

I'm pretty sure my original bug has something to do with make and sh executing on its own context and not finding sphinx-build. If someone has a better answer, please post :)

HRK44
  • 2,382
  • 2
  • 13
  • 30