The utils.output_directory function always returns /tmp/jupyter_execute on my computer. I suspect this to be an error and the intention being to be inside of the Sphinx directory. In my case the env.app.outdir is /tmp/tmpi78777b43. I checked if this path has changed in recent versions of Sphinx, but I found no differences between Sphinx 7.4.3, 7.0.0 and 8.1.3 .
A solution would be to remove the os.path.pardir.
The problem with the current behaviour is that the same directory will be used by all users on a multiuser system which can cause permission errors if running simultaneously.
The
utils.output_directory
function always returns/tmp/jupyter_execute
on my computer. I suspect this to be an error and the intention being to be inside of the Sphinx directory. In my case theenv.app.outdir
is/tmp/tmpi78777b43
. I checked if this path has changed in recent versions of Sphinx, but I found no differences between Sphinx 7.4.3, 7.0.0 and 8.1.3 .A solution would be to remove the
os.path.pardir
.The problem with the current behaviour is that the same directory will be used by all users on a multiuser system which can cause permission errors if running simultaneously.