sphinx-hoverxref icon indicating copy to clipboard operation
sphinx-hoverxref copied to clipboard

Nicer error when the request produces 404

Open humitos opened this issue 4 years ago • 0 comments

If the hoverxref request returns a 404, our tooltip only shows Loading... forever. We should catch that error and show a nicer message to the user.

This is easier to get when using intersphinx and the project is not hosted on Read the Docs. See https://github.com/readthedocs/sphinx-hoverxref/pull/86#pullrequestreview-667726819

humitos avatar May 25 '21 14:05 humitos