-
Notifications
You must be signed in to change notification settings - Fork 94
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
No synopsis rendered for modules for Stdlib
modules
#632
Comments
I'm afraid but stdlib modules still lack synopses is it maybe due to #649 ? I'm not familiar with the namespacing business done on stdlib. In general it would be nice to actually check issues are resolved before closing them. It seems I keep on reopening issues. It's not hard: opam pin add odoc .
opam pin add b0 --dev
opam pin add odig --dev
odig cache clear
odig doc -u |
I tested with master now that it's merged. Still no synopses in the Could this maybe due to the way |
Stdlib
modules
So I think something is wrong in the way the stdlib does namespacing, since AFAIK that trick has never been properly documented, I'm not sure exactly what is wrong. But in any case the dependencies of the
Now I contrasted that with
So the references to the namespaced modules are there in I suspect Finally I just checked
|
The difference is because
whereas for base:
So it's quite possibly an artifact of that. |
@jonludlam so what is to be blamed :-) ? My understanding is that its the For reference this was done in ocaml/ocaml#1010 it seems it was recently updated in ocaml/ocaml#10169 (that didn't make it in a release yet). |
Odoc is to be blamed :-) |
I fail to reproduce this. This way of namespacing should already be supported, we have some tests working like that. There must be something else. |
You mean you do have the synopses for the stdlib ? |
I have the synopses for my small reproduction case. Do you have an idea of what's missing ? |
I have no idea. Maybe the way
|
A difference that I see between the test case and the standard library is that the standard library is using (after postprocessing) (** @canonical List*)
module List = Stdlib__List |
@Octachron The |
Thanks @Julow for the fix ! I have updated the |
In this example, the page for the top-level module doesn't contain the synopsis for the module
M
near its definition.Ocamldoc does this and the documentation for the Stdlib may rely on this.
cc @dbuenzli
The text was updated successfully, but these errors were encountered: