sphinxcontrib-jupyter
sphinxcontrib-jupyter copied to clipboard
BUG: Root Path in `.. figure::` not being respected
In a Julia lecture contained in a directory a figure import is using this syntax. getting_started_julia/getting_started.rst
.. figure:: /_static/figures/julia_term_1.png
:scale: 100%
The resulting html appears not to reference the root level but rather a local copy of static.
<img src="_static/figures/julia_term_1.png" style="width:100%;height:100%">
This breaks the Julia
images and figures or any project with directories.
- [ ] the current work around is to have
_static
in every folder forjl
project until we have ajupuyter_html_path
option added to add in thejl
relative to the root level of the web server or track the relative path to include as../_static
@AakashGfude I will add the above workaround for now to the build script but we should make this a high-priority
This issue should be resolved once #266 is implemented.
this will be fixed by PR #268