Skip to content

Module preamble/header detection. #328

Closed
@dbuenzli

Description

@dbuenzli

Related to #235

The way module preambles are detected is odd. Basically one expects to have anything that happens before the first header or structure item to go in the module preamble/header.

More precisely in the stdlib Int64 module I would expect all of the contents of the first comment to go in the preamble. Instead, it seems all of it put in an aside element (!?):

https://github.com/ocaml/ocaml/blob/4.07/stdlib/int64.mli#L16-L28
https://b0-system.github.io/odig/doc/ocaml/Stdlib/Int64/index.html

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions