jupyter-sphinx generate a "jupyter_execute" folder
12rambau opened this issue · 2 comments
I run the following code to build my documentation:
sphinx-build -b html docs/source build
and in one of my file there is the following cell to execute:
.. jupyter-execute::
import pygadm
gdf = pygadm.get_items(name="Singapore", content_level=1)
gdf.plot(cmap = "viridis")
For a reason I can't explain building the documentation creates a jupyter_execute
folder at the root of my lib. Am I missing a parameter or is it a bug ?
I would expect this to end-up in the build
folder.
If an example is needed, you can find the example here: https://github.com/12rambau/pygadm
Thanks for reporting, I can confirm that this is a bug.
the error was coming from me. I stopped using the make html
command from docs source but instead used sphinx-build -b html docs/source build
from the repository root. As the outputdir is automatically deteted from your side it wasn't working:
jupyter-sphinx/jupyter_sphinx/utils.py
Line 91 in 1bb7d91
Now that I run the more appropriate:
sphinx-build -b html docs/source docs/build/html
It works as expected.
Sorry for the noise