-
Notifications
You must be signed in to change notification settings - Fork 44
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
Rendering of images failed #14
Comments
As a not-ideal workaround, I added use_directory_urls: false to the configuration, which fixed it. |
The solution is what afled commented. Another option is to have the images in another dir inside the
|
Hi, I'm trying to use the method suggested by @danielfrg above but the image still does not render. I created a separate folder in docs called imglib and put all my figures there. The docs folder also contains my Jupyter notebook at the following directory: case_studies/evaluating_perception/simple_script.ipynb . This case studies folder in docs is actually a symbolic link to the case studies folder that is located in the same directory as docs. I'm trying to render simple_script.ipynb that tries to print an image from the imglib folder but the figure does not render in my browser. Specifically, this is the error I get when I run make docs-serve:
|
Hi! I'm having the same problem that @abadithela, any suggestions? |
@giturra I rendered in the Jupyter notebook using matplotlib. It's not the greatest but it works:
A better alternative is to use Python commands:
|
The issue with using If you set |
Hi @danielfrg
Thanks a lot for this library. I wanted to discuss the issue long time back. But I completely forgot about this. Here I go -
If I have an image in the same directory as that of my notebook, the image is rendered using markdown syntax in the notebook but fails to show up in the
mkdocs
site.And I get 404 error of
Image not found
becausemkdocs
is looking for the image in the path including my notebook's name. As an example -Now, I am wondering how my notebook's name gets added to the path for finding the image. Is this expected behaviour or am I missing something? Please help in this regard.
More interestingly, this is not the case if I render the image from markdown file. As a workaround, I uploaded the picture on GitHub and used that link to render both in notebook and mkdocs.
The text was updated successfully, but these errors were encountered: