krassowski / jupyter-manim

manim cell magic for IPython/Jupyter to show the output video
MIT License
194 stars 11 forks source link

Media-folder placed outside _build/html folder #32

Open mscharling opened 2 years ago

mscharling commented 2 years ago

Hi,

First of all, what a wonderful extension! I'm new to this Jupyter-world, but not so much for manim, but I was wondering how one could integrate manim into a Jupyter-book and not a Jupyter-notebook. Also, the animation should auto-render when building the book. Is this possible?

Thank you in advance :-)

mscharling commented 2 years ago

After trying different things for a week I've managed to sort this one out. It had something to do with the media-folder not being placed correctly into the _build/html folder. I'm changing the issue to "Media-folder placed outside _build/html folder".

krassowski commented 2 years ago

I think you can use OUTPUT_PATH environment variable to control where the media folder should be; in any case jupyter-manim does not control the media folder location.

mscharling commented 2 years ago

@krassowski I'll look into this :-)