Skip to content
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

Vuetify the voila tree #14

Open
marketneutral opened this issue Aug 5, 2019 · 4 comments
Open

Vuetify the voila tree #14

marketneutral opened this issue Aug 5, 2019 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@marketneutral
Copy link

Filing an enhancement request ... would be very nice to have a Material Design tree page when you start voila in a directory without a single target notebook.

@maartenbreddels maartenbreddels added enhancement New feature or request good first issue Good for newcomers labels Aug 6, 2019
@maartenbreddels
Copy link
Member

Good idea, not a high priority from our side at this moment, but for sure something we'd like to have.

@marketneutral
Copy link
Author

In the meantime, I'm going to work on the following

  • I put all the notebooks I want to serve into, say, /srv/voila/notebooks including a homepage.ipynb notebook, which I style with ipyvuetify
  • I run voila in this directory
  • my homepage.ipynb includes a Vuetify nice list or expansion panel, etc. populated with directory contents of /srv/voila/notebooks and meta-data (like "this notebook does X,Y,Z") pulled out of each notebook using scrapbook
  • there is an icon for each item in the list where the href is http://server:8866/voila/render/ + the notebook name.
  • I give the users the URL http://server:8866/voila/render/homepage.ipynb as the root

@maartenbreddels
Copy link
Member

That's a nice workaround, once you have that it should be relatively easy to create a tree.html from it.

@marketneutral
Copy link
Author

I made a project for this. Would love any comments!

https://github.com/marketneutral/voila-homepage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants