nbsphinx: Symbolic link causes problems with images in output cells
For example: http://pymc-devs.github.io/pymc3/notebooks/BEST.html Tries to link to: http://pymc-devs.github.io/pymc3/notebooks/_build/doctrees/nbsphinx/notebooks_BEST_8_0.png
During compilation I get many warnings like:
/home/wiecki/working/projects/pymc/docs/source/notebooks/survival_analysis.ipynb:193: WARNING: image file not readable: notebooks/../_build/doctrees/nbsphinx/notebooks_survival_analysis_11_0.png
I have seen #9 which looks very related and installed from master to make sure #10 was included but those don’t fix this issue.
About this issue
- Original URL
- State: open
- Created 8 years ago
- Reactions: 3
- Comments: 15 (8 by maintainers)
Commits related to this issue
- DOC Move notebooks to docs subdir and sym-link back to get around https://github.com/spatialaudio/nbsphinx/issues/49. — committed to pymc-devs/pymc by twiecki 8 years ago
- DOC Move notebooks to docs subdir and sym-link back to get around https://github.com/spatialaudio/nbsphinx/issues/49. — committed to pymc-devs/pymc by twiecki 8 years ago
It works for me when I create a real directory
notebooks/in thesources/subdirectory and in there have symlinks to the individual notebooks.I think that’s a feasible workaround.