MCPcopy Create free account
hub / github.com/LabPy/lantz / _rst_to_html

Function _rst_to_html

lantz/ui/widgets.py:41–45  ·  view source on GitHub ↗

Convert rst docstring to HTML.

(rst)

Source from the content-addressed store, hash-verified

39
40
41def _rst_to_html(rst):
42 """Convert rst docstring to HTML.
43 """
44 parts = doc_core.publish_parts(rst, writer_name="html")
45 return parts['body']
46
47
48def _params_doc(rst):

Callers 1

__init__Method · 0.85

Calls 1

publish_partsMethod · 0.80

Tested by

no test coverage detected