leo
leo copied to clipboard
[Feature] Leo Doc command RFC
🚀 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.