-
Notifications
You must be signed in to change notification settings - Fork 411
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: valid module name clashes cause issues #1645
Comments
Hmm yh, I believe it's because odoc works with packages rather than libraries. I don't know how we can fix this in Dune :/ |
I've updated the description to make it clear that this is for sub-libraries (repro.one and repro.two) |
This is related to ocaml/odoc#148 |
Indeed only workaround so far is to wrap one of the libs and set |
I'm still seeing this in yallop/ocaml-ctypes#588 with odoc 1.4.0, need to investigate more:
|
@jonludlam is there a corresponding odoc bug? I don't think this can be fixed until odoc addresses this. |
@avsm which version of dune are you using? This ought to be addressed by #2141 @rgrinberg there's no issue on the odoc repo yet. I'll make one when I've got a moment. |
@jonludlam twas with the released dune 1.9.3 -- I'll try with the master branch shortly |
Signed-off-by: Etienne Millon <me@emillon.org>
Signed-off-by: Etienne Millon <me@emillon.org>
Facing this issue and found ocaml/odoc#148 has been resolved. Is there any chance to relook into this? |
Is it correct to say that this is (at least partially) fixed by the |
ping @jonludlam for this question |
Yes, |
It's perfectly valid to have a dune project containing sub-libraries that have unwrapped modules with the same name. For example:
Where the public-name for these is e.g.
repro.one
andrepro.two
. These libraries can't be linked together, but the documentation should be able to coexist. Currently this is not possible as odoc is producing the same html filename for both modules:The text was updated successfully, but these errors were encountered: