-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module preamble/header detection. #328
Comments
Also I suspect this should explain the annoying lack of module synopses in the 4.08 docset here: https://b0-system.github.io/odig/dev/ocaml/Stdlib/index.html#modules |
This is still an issue with the new odoc. Basically the module preamble here: https://github.com/ocaml/ocaml/blob/4.09/stdlib/int64.mli#L16-L35 Ends up in |
I took the liberty to add this to the 2.0.0 milestone because it basically breaks all Stdlib module preambles and as a side effect their synopsis line in the |
I've made a reproduction test case for this issue: 113d006 |
Sorry but this is not fixed, still no preamble on |
(and hence no synopses aswell in |
Here's yet another preamble problem that I suspect is different from the The docset here was generated with master. The That seem to be because there's an |
That is fixed.
Still an issue… |
More precisely. This is fixed:
But the modules here still don't have synopses. |
Odoc doesn't do this, I tested with master and 1.5.2. |
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 anaside
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
The text was updated successfully, but these errors were encountered: