Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
41
def
_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
48
def
_params_doc(rst):
Callers
1
__init__
Method · 0.85
Calls
1
publish_parts
Method · 0.80
Tested by
no test coverage detected