Returns pydoc generated output as html
(module)
| 324 | return out.strip() |
| 325 | |
| 326 | def get_pydoc_html(module): |
| 327 | "Returns pydoc generated output as html" |
| 328 | doc = pydoc.HTMLDoc() |
| 329 | output = doc.docmodule(module) |
| 330 | loc = doc.getdocloc(pydoc_mod) or "" |
| 331 | if loc: |
| 332 | loc = "<br><a href=\"" + loc + "\">Module Docs</a>" |
| 333 | return output.strip(), loc |
| 334 | |
| 335 | def clean_text(doc): |
| 336 | # clean up the extra text formatting that pydoc performs |
no test coverage detected
searching dependent graphs…