def sphinxify_docstring(docstring):
    with TemporaryDirectory() as dirname:
        return {'text/html': sphx.sphinxify(wrapped_docstring, dirname), 'text/plain': docstring}
def sphinxify_docstring(docstring):
    with TemporaryDirectory() as dirname:
        return {'text/html': sphx.sphinxify(wrapped_docstring, dirname), 'text/plain': docstring}