-
Notifications
You must be signed in to change notification settings - Fork 96
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 2.3.0 gives "Rule failed to generate the following targets" #1013
Comments
hum interesting, why was dune trying to build |
Ah, because you've got an explicit module called |
Oh, I see - it should be hidden - the top of (** Private internal module. Use {!Eio} instead. *)
(** @canonical Eio.Switch *)
module Switch : sig
(** Many resources in Eio (such as fibers and file handles) require a switch to |
Yep. I'm happy for it to be hidden in the docs. Its contents get included at the start of |
Small recap of this issue:
We have to decide whether we want to revert to the previous behavior, or open an issue in dune. I'm not sure yet (there might be some more changes in the way source code rendering is built, and we might want to wait for that before deciding?). |
Hidden modules were not rendered, since calling html-generate on them was used to generate the associated source code. However, this breaks dune rules in some cases (see issue ocaml#1013), as dune always expect an output to the command. This fix is related to the separation of implementation and interface pipelines (see ocaml#1067). Signed-off-by: Paul-Elliot <[email protected]>
Hidden modules were not rendered, since calling html-generate on them was used to generate the associated source code. However, this breaks dune rules in some cases (see issue ocaml#1013), as dune always expect an output to the command. This fix puts back the old behaviour with regard to rendering hidden files. It is related to the separation of implementation and interface pipelines (see Signed-off-by: Paul-Elliot <[email protected]> f Signed-off-by: Paul-Elliot <[email protected]>
Hidden modules were not rendered, since calling html-generate on them was used to generate the associated source code. However, this breaks dune rules in some cases (see issue ocaml#1013), as dune always expect an output to the command. This fix puts back the old behaviour with regard to rendering hidden files. It is related to the separation of implementation and interface pipelines (see Signed-off-by: Paul-Elliot <[email protected]>
Hidden modules were not rendered, since calling html-generate on them was used to generate the associated source code. However, this breaks dune rules in some cases (see issue #1013), as dune always expect an output to the command. This fix puts back the old behaviour with regard to rendering hidden files. It is related to the separation of implementation and interface pipelines (see Signed-off-by: Paul-Elliot <[email protected]>
Hidden modules were not rendered, since calling html-generate on them was used to generate the associated source code. However, this breaks dune rules in some cases (see issue ocaml#1013), as dune always expect an output to the command. This fix puts back the old behaviour with regard to rendering hidden files. It is related to the separation of implementation and interface pipelines (see Signed-off-by: Paul-Elliot <[email protected]>
Hidden modules were not rendered, since calling html-generate on them was used to generate the associated source code. However, this breaks dune rules in some cases (see issue #1013), as dune always expect an output to the command. This fix puts back the old behaviour with regard to rendering hidden files. It is related to the separation of implementation and interface pipelines (see Signed-off-by: Paul-Elliot <[email protected]>
This should be fixed by #1069, which is being released. |
After upgrading to odoc 2.3.0, I get this error building Eio:
Any idea what could cause that?
The problem also appears in CI (e.g. https://ocaml.ci.dev/github/ocaml-multicore/eio/commit/4db6533fa661ef348ae3197cc6c465622ae02703/variant/%28lint-doc%29#L429-432)
The text was updated successfully, but these errors were encountered: