(doc)
| 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 | } |
| 101 | except ImportError: |
| 102 | sphinxify = None |
| 103 |
nothing calls this directly
no outgoing calls
no test coverage detected