-
Notifications
You must be signed in to change notification settings - Fork 90
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
odoc: several variants completely missing from generated docs, but present in .odocl #1091
Comments
It looks like all variants that have |
Can you find the module |
Oh hang on I can do this myself :-) |
Currently the docs are either missing tags where they contain hidden items or linking to hidden modules. See ocaml/odoc#1091
OK so the problem is that odoc doesn't know where to find the types |
Hmm even if it cannot find the types to link them, showing the variant entry would be better, or print some warning during the build that it has dropped the variants. That way we could find other instances of this bug in other packages. |
Totally agree with the warning. I think also we need to adjust what we do after emitting the warning too, though whether we show all variants or drop them all and render it as an opaque type I'm not sure yet. |
This should be 'fixed' now - we should have a warning, but all the variants should be rendered. |
The documentation for Omd's
type block
is incorrect.However the source code has:
Same issue with older version of API docs: https://ocaml.github.io/omd/omd/Omd/index.html#type-block
What I tried:
Z
: it shows up, even thoughParagraph
andList
andTable
do notstrings -a
Steps to reproduce:
Output for
strings -a
, see that the variants are all present:Output for
man-generate
, see thatList
,Paragraph
andTable
are missing:The text was updated successfully, but these errors were encountered: