You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would benefit from some examples, explanation on what is a docstring and how it is attached to an item, some explanation of the (basic) syntax, etc. Another content could be "what kind of content to put in docstrings", but this is a bit more personal.
I can give it a shot if there is no volunteer!
The text was updated successfully, but these errors were encountered:
I would also think it would be worth adding a link to it directly from the "Overview" page of "Learning" (maybe only once it is improved), but I don't see which section it could replace...
I think a good first step would be to just add an example docstring in the section on Defining Global Functions. I searched "docstring" on every page in the Language and Guides and never found anything other than the "Generating documentation with odoc", which is good for library authors but unhelpful for language learners.
On second thought, this would be better suited for A Tour of Ocaml.
The platform tool guide on how to write documentation is minimal.
I think it would benefit from some examples, explanation on what is a docstring and how it is attached to an item, some explanation of the (basic) syntax, etc. Another content could be "what kind of content to put in docstrings", but this is a bit more personal.
I can give it a shot if there is no volunteer!
The text was updated successfully, but these errors were encountered: