jupyter / nb2kg

Other
73 stars 31 forks source link

Add support for retrieving kernelspec resources #23

Closed kevin-bates closed 5 years ago

kevin-bates commented 5 years ago

A long-standing TODO item has been to handle the retrieval of resource files corresponding to the kernelspecs. This change forwards such a request to the configured gateway if the corresponding kernelspec uses resources files (logos, kernel.js or kernel.css) and statisfies the request from the Notebook client.

This change relies an appropriate Jupyter Kernel Gateway to retrieve the resource. If used against an older version of JKG, no image is displayed, etc.

I also noticed that use of INFO logging was too common so converted most to DEBUG.