Skip to content

Document odoc, help people write good docs #120

@aantron

Description

@aantron

This issue is about improving odoc's documentation, and documentation about writing documentation in general.

To get started:

  • Link to @bobbypriambodo's documentation guide from the README.
  • Explain how to create overall complete documentation for a project, apart from just an API reference. This means documentation for .mld files. Links to well-documented projects would be useful here.
  • odig usage instructions.
  • Fully document the grammar of comments accepted by odoc.

Suggestions from https://discuss.ocaml.org/t/1841/56, https://discuss.ocaml.org/t/1841/68, https://discuss.ocaml.org/t/1841/78. The README already has some of what was suggested, such as Jbuilder+odoc usage instructions. But, please say if this needs to be moved, clarified, etc. :)

We should probably generalize odoc more away from Jbuilder at some point (e.g. towards bsb). At that point, or earlier, we will also need good documentation on how the odoc command-line tool works.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions