diff --git a/IPython/core/display.py b/IPython/core/display.py index fa3dea0..1b98dbb 100644 --- a/IPython/core/display.py +++ b/IPython/core/display.py @@ -252,8 +252,9 @@ def display(*objs, include=None, exclude=None, metadata=None, transient=None, di display in IPython by following the above approach. But in practice, you often need to work with existing classes that you can't easily modify. - You can refer to the documentation on IPython display formatters in order to - register custom formatters for already existing types. + You can refer to the documentation on integrating with the display system in + order to register custom formatters for already existing types + (:ref:`integrating_rich_display`). .. versionadded:: 5.4 display available without import .. versionadded:: 6.1 display available without import diff --git a/docs/source/config/integrating.rst b/docs/source/config/integrating.rst index 5db55b5..368761e 100644 --- a/docs/source/config/integrating.rst +++ b/docs/source/config/integrating.rst @@ -19,6 +19,8 @@ returns a list of objects which are possible keys in a subscript expression .. versionadded:: 5.0 Custom key completions +.. _integrating_rich_display: + Rich display ============