Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Root Path in .. figure:: not being respected #258

Open
1 task
mmcky opened this issue Aug 24, 2019 · 2 comments
Open
1 task

BUG: Root Path in .. figure:: not being respected #258

mmcky opened this issue Aug 24, 2019 · 2 comments
Assignees
Milestone

Comments

@mmcky
Copy link
Contributor

mmcky commented Aug 24, 2019

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 for jl project until we have a jupuyter_html_path option added to add in the jl 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

@mmcky
Copy link
Contributor Author

mmcky commented Sep 3, 2019

This issue should be resolved once #266 is implemented.

@mmcky
Copy link
Contributor Author

mmcky commented Sep 10, 2019

this will be fixed by PR #268

@mmcky mmcky added this to the v1.0 milestone Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants