1) I've read http://mindtrove.info/4-ways-to-extend-jupyter-notebook/#nb-server-exts - but where does this code & how do I install it?
2) Are there any examples of Server extensions I can explore?
3) Is there any more expansive documentation? ---- for the server extensions, not the notebook extensions
On 25 January 2018 at 16:50, 'Ian Stuart' via Project Jupyter <jup...@googlegroups.com> wrote:2) Are there any examples of Server extensions I can explore?Cite2c adds some URL handlers with a server extension:
And the docs show the files for a simple server extension:
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAKofB1LeB1jRFZh6CFOFBT6KbB_gjAmemEP7_idqjoRJ5zEOdA%40mail.gmail.com.
It works the same way as an nbextension modifying the notebook page, but you have to make sure it's enabled for the tree view.If you want to do things in the Javascript, that's a notebook extension (aka nbextension) rather than a server extension. You might need a corresponding server extension for your new buttons to talk to (cite2c is an example of an extension that contains both an nbextension and a server extension).Here's an example of an extension modifying the tree view:
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/tree-filter/readme.html
https://github.com/ipython-contrib/jupyter_contrib_nbextensions/blob/master/src/jupyter_contrib_nbextensions/nbextensions/tree-filter/index.js