pub fn render_docs_as_code(docs: &[Doc]) -> String
Expand description

Render a series of Doc objects into a “starlark” file.

Function bodies for these consist of a single “pass” statement, and objects are represented as structs.

The returned array may not be in the same order as the originally provided docs. They are in the order that they should appear in the rendered starlark file.