uchicago-library / attachment-converter

Attachment Converter: tool for batch converting attachments in an email mailbox
GNU General Public License v2.0
8 stars 3 forks source link

Create `.mli` documentation #82

Open bufordrat opened 1 year ago

bufordrat commented 1 year ago

As we get ready to release Attachment Converter, we need to start documenting the code in more detail. The first step of that is:

One of the ways we've customarily cut corners in the DLDC is to skip defining .mli files for our projects, which means this will be kind of a new endeavor for us. That said, we can recommend the following general approach, for each of the module files in the project:

Once we have used this technique to identify the minimal set of values that each module needs to expose, we can set about writing docstrings for those values, which are what will go into our auto-generated odoc documentation.

For more info on the syntax of odoc's markup language, please see: https://ocaml.github.io/odoc/odoc_for_authors.html