Revert "DOC: Remove vendored IPython.sphinext (#18193)"
This reverts commit ca737aca8b73b10b617f7fcc7da35545f9ec0a89.

This reverts https://github.com/pandas-dev/pandas/pull/18193. The problem is there is something wrong with the upstream version such that errors in the code don't get reported. 