DocsJson

Note

Generated from the C++ headers by apiary --emit-cpp-docs-json.

std::string emit_docs_json(const Module &module_, const std::string &module_name)

Serialize module_ to a pretty-printed JSON string per the schema above.

Parameters:
  • module – The binding IR module to serialize.

  • module_name – Recorded as the document’s “module” field (the Python import name, e.g. “einsums”).

Returns:

The pretty-printed docs-JSON document as a string.