Pelican blog generator and ipynb plugin
See original GitHub issueI have been messing around with pelican lately and have been trying to get my static interactive visualizations up as html. I am also using the ipynb plugin. I believe this plugin just uses nbconvert
in the background though.
I have been having issues with getting my actual plot (its a HoloMap) rendered in the output. If I view the generated html from nbconvert
it works fine, but its when I generate the html tree in Pelican that the results look something like this…
Opening up the console shows that the reference to HoloViews can not be resolved:
This is most likely a Pelican issue but I am just reaching out to see if anyone has had past experience with getting HoloViews outputs to play nicely with Pelican or a similar static site generator. I have taken a glance at the hack mentioned in #2574 but I am not sure if that is still relevant.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Current HoloViews widgets requires jQuery (in future versions it will no longer be required. You should put the jQuery dependency in your base.html template like this: https://github.com/pyviz-dev/blog/blob/871370f5e19b82485c50d8d33e1b4d5079785c0d/theme/templates/base.html#L22
I am noticing now that the requireJS when included in my base.html ends up breaking some of my graphics that use other graphing libraries (undefined references even though im including the javascript libraries). Has anyone encountered this or have any advice going forward?