fsprojects / IfSharp

F# for Jupyter Notebooks
Other
442 stars 71 forks source link

Jupyter extensions in Docker image #200

Closed zakaluka closed 5 years ago

zakaluka commented 5 years ago

Adds Jupyter extension to Docker image for #199

cgravill commented 5 years ago

Looks good to me.

Could you provide an example of what extensions this enables and how you can use them with F#? There have been a few people asking about Jupyter extensions and it looks like this could be really helpful.

zakaluka commented 5 years ago

Every extension in https://github.com/ipython-contrib/jupyter_contrib_nbextensions is made available by this, although the system auto-disables extensions that cannot be used (due to dependencies, for example).

This also provides the configurator, so the user can choose which extensions they want to enable. This way, they are not forced to use anything specific.

Here is a screenshot showing what this looks like (if you see an enabled extensions, it's because I've enabled it):

image

image

The entries which are grayed out say (on mouse-over): possibly incompatible. I cannot fully explain why this is so, but I don't need any of them.

EDIT: The grayed out entries are because the option at the top disable configuration for nbextensions without explicit compatibility (they may break your notebook environment, but can be useful to show for nbextension development) is checked. If the user unchecks it, those items can then be selected.

cgravill commented 5 years ago

Thanks. Having nbextensions_configurator enabled by default helps people easily enable extensions.