I've installed toc nbextension successfully with Jupyter 4 (ie. ipython notebook 4) recently. In fact installing extension is easier than before :)
I post my solution here, may it help.
## download
mkdir toc
cd toc
wget https://raw.githubusercontent.com/minrk/ipython_extensions/master/nbextensions/toc.js
wget https://raw.githubusercontent.com/minrk/ipython_extensions/master/nbextensions/toc.css
## install and enable
cd ..
jupyter-nbextension install --user toc
jupyter-nbextension enable toc/toc
A bit more explain:
install
will copy toc
to ~/.local/share/jupyter/nbextensions/
enable
will modify ~/.jupyter/nbconfig/notebook.json
.
You can check these two place to see what happened.
Note: we use enable toc/toc
here is because toc.js
is in ~/.local/share/jupyter/nbextensions/toc/
.
If you put toc.js
and toc.css
directly in ~/.local/share/jupyter/nbextensions/
then you should use enable toc
here.
Edit
Sorry, I didn't notice the orginal problem is on windows. I'm not sure if it's same for windows jupyter, any report is welcome.
Update
Now the toc nbextension has been added into this project which provide a collection of kinds of nbextensions. It's very easy to install and manage, worth to try!