ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.2k stars 805 forks source link

Gist_it extension provides incorrect URL when listing gists #1581

Open eirinnm opened 2 years ago

eirinnm commented 2 years ago

Background: When a gist has already been published, this extension shows the ID and provides a URL to view that gist.

Expected behaviour: the URL should point to https://gist.github.com/

What happens: the URL points to https://github.com/gist/ which is presumably an old endpoint. It resolves to a 404 error.

Blame: https://github.com/ipython-contrib/jupyter_contrib_nbextensions/blob/a186b18efaa1f55fba64f08cd9d8bf85cba56d25/src/jupyter_contrib_nbextensions/nbextensions/gist_it/main.js#L210