package mantra.mdk
DocGenerator
CLASS
public class
Automated documentation generator parsing AST declarations into MantraDoc and Markdown formats.
🏗️ Constructor Summary
Constructor Signature
def __init__(self)
⚙️ Method Summary
| Modifier & Return Type | Method Signature | Description |
|---|---|---|
String |
generate_docs_for_file(path: Path) |
Generates documentation. |
🔍 Detailed Method Specifications
pub def generate_docs_for_file(path: Path) -> String
Generates documentation.
💡 Example Usage
docgenerator_example.mantra
let markdown = DocGenerator.generate_docs_for_file(Path("src/main.mantra"))