-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
API for static HTML export #282
Comments
For reference here is an example of the current API for exporting a standalone HTML file. |
Note that above the methods are on |
hi! I am on the user end, and I would like just to ask if this API is still under construction. I tried to run the commands given in the first post of this thread, and I got an error |
Yes, this has not been implemented yet. Hopefully we'll get around to it soon. |
This has been implemented as part of #311, closing. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Philipp's has recently pulled out some more functionality out of the ipython subpackage involved in HTML generation. As this functionality is useful and something we want to support in general (so HoloViews is not necessarily tied to IPython/Jupyter) we should consider implementing a useful API for our users. Here is what I suggest:
One other suggestion is a
template
argument which defaults to'default'
(or'basic'
?) which defines the overall HTML skeleton. This would allow you to specify a custom template as a formatter with the appropriate fields (i.e'css'
and'js'
in the current example).Lastly, I might consider splitting the HTML up a little bit more. Perhaps a
'header'
field could correspond to the HTML header used to load the appropriate JavaScript libraries?Fix: I forgot to add the
obj
argument to define what you want to export!The text was updated successfully, but these errors were encountered: