leo icon indicating copy to clipboard operation
leo copied to clipboard

[Feature] Leo Doc command RFC

Open gluax opened this issue 3 years ago • 0 comments

🚀 Feature

The ability to run leo doc as a command.

Motivation

A tool to generate documentation for the code based on comments like cargo doc.

Implementation

We would need a spec of how to parse docstring comments and add them to the language spec. This would probably require a grammar explanation for how docstrings are parsed into some HTML/MD format.

We would like to see an RFC proposal for this one first and that's what this feature is for. Please refer to our RFC template and existing RFCs for a guide on how to make an RFC.

gluax avatar Oct 19 '21 17:10 gluax