-
Notifications
You must be signed in to change notification settings - Fork 209
Standalone export ? #292
Comments
Hi @arnaudmiribel. There is no standalone export today. It's possible that nbconvert could be made aware of the dashboard layout information and produce a static HTML document respecting the layout. Is that what you're after? |
Hi @parente, that's exactly the point :) |
Is there an guide to using nbconvert to do this? I am trying to achieve the same thing. I am guessing when this project reaches release and traction, dashboard would be added to the formats. |
I have the same issue. It would be great to export dashboard layout to static html, even without comprehensive interactions which are triggered by python functions. |
I think a function from NBconvert to be aware of the layout will be really helpful. The user sometimes would need to send html around, not ipynb files that requires the recipient to also download jupyter and install the same extension. I hope I can help to make this happen, is there any starter guide to nbconvert workings? |
Thanks for the interest. http://nbconvert.readthedocs.io/en/latest/customizing.html is probably the right place to start. It's possible that all that's need is a bit of custom CSS added to the HTML output already supported by nbconvert that respects the layout metadata documented here: http://jupyter-dashboards-layout.readthedocs.io/en/latest/metadata.html. |
+1 |
+1 more |
+1 |
Did anyone find a way to export the grid view in any way? |
I would also love this feature |
It is already possible to do that with nbconvert thanks to custom templates as @parente suggested. Here is a very simple template that enables to export in html and hides inputs and hidden cells of dashboard view:
Then you just have to run this command:
|
Yes, it is "already possible" to recreate what Jupyter Lab already does when you click the "Open with Voila Gridstack in New Browser Tab", from the Gridstack editor tab/pane, by creating your own template file and using nbconvert. And here's how I got Voila and Gridstack-type config in a function. c = Config()
c.TemplateExporter.exclude_input = True
c.TemplateExporter.exclude_output_prompt = True
c.TemplateExporter.exclude_input_prompt = True
c.HTMLExporter.template_name = 'gridstack' But why not just add that to the Export options, like with Reveal JS Slides? Maybe, it would more-appropriately be called a "DeJavu Gridstack" export. Maybe now, in 2022, it is already being addressed (associated with another Issue?). |
Hi all,
Very happy to use jupyter-dashboard for a project, I'd like to host the dashboard layout as a standalone html page. Is there a way to do that ? That is, export the notebook into
.html
but activate the same things as when we press the "dashboard preview" button on the UI. Apparently, appending a?dashboard
after the url doesn't work.I've seen efforts on jupyter-dashboard servers but the installation went wrong for me, it's not that easy, and I just need one single easy page.
Hope I make myself clear :) not sure it's possible.
Thanks for your help
The text was updated successfully, but these errors were encountered: