MCPcopy Create free account
hub / github.com/ipython/ipython / sphinxify

Function sphinxify

IPython/core/interactiveshell.py:95–100  ·  view source on GitHub ↗
(doc)

Source from the content-addressed store, hash-verified

93 import docrepr.sphinxify as sphx
94
95 def sphinxify(doc):
96 with TemporaryDirectory() as dirname:
97 return {
98 'text/html': sphx.sphinxify(doc, dirname),
99 'text/plain': doc
100 }
101except ImportError:
102 sphinxify = None
103

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected