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

Is it possible to add this extension into notebook? #1228

Closed
cqcn1991 opened this issue Mar 18, 2016 · 5 comments
Closed

Is it possible to add this extension into notebook? #1228

cqcn1991 opened this issue Mar 18, 2016 · 5 comments
Labels
Milestone

Comments

@cqcn1991
Copy link

I want to add a sidebar to jupyter notebook, something like this:

toc

I've discussed here ipython-contrib/jupyter_contrib_nbextensions#532
It's just a demo and still in dev yet, but I still want to know if it is possible to add it into the main notebook repo? Or what specific requirement I have to met?

@ellisonbg
Copy link
Contributor

We are interested in things like this being in the main notebook, but for now I think it makes sense for this to be an extension. Starting to do more complex layout in the existing notebook is sort of opening a can of worms. I really prefer to avoid that and instead start to do work involving more complex layout in JupyterLab instead.

One result of the dev meeting we had last week though is that we are going to come up with a good migration plan for existing nbextensions to transition to JupyterLab. More details soon...

@cqcn1991
Copy link
Author

cqcn1991 commented Apr 5, 2016

@ellisonbg That's OK. So JupyterLab is the Jupyter version of original nbextensions?
I think it would be great if we can make the extension system works just like rubygem, where you can install things simply by specifying it in a file and run a install command. Now the nbextension is just very hard to install, you need to download the file by hand, put them in the right place etc, and hard to update.

@ellisonbg
Copy link
Contributor

Did you see the documentation for nbextensions (this is the new 4.2 APIs to be released soon):

https://jupyter-notebook.readthedocs.org/en/latest/examples/Notebook/Distributing%20Jupyter%20Extensions%20as%20Python%20Packages.html

JupyterLab is a the notebook UI we are building - it will have some equivalent way of creating extensions. nbextensions are the extensions for the existing notebook.

@ellisonbg
Copy link
Contributor

Also, a lot of the pain you mention with installing and activating nbextensions is fixed in the upcoming 4.2 release (see those docs).

@gnestor gnestor added this to the no action milestone Sep 14, 2016
@jtpio
Copy link
Member

jtpio commented Jun 20, 2023

Closing as fixed in Notebook 7 (currenly in RC), which includes a Table of Contents panel by default:

image

Also linking to #672 as related.

Thanks all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants