You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
. However, I'm having troubles integrating this with ocamlbuild.
I'm using the following code in myocamlbuild.ml:
open Ocamlbuild_plugin;;
dispatch begin function
| After_options ->
Options.ocamldoc := S[A"ocamldoc"; A"-keep-code"; A"-colorize-code"]
| _ -> ()
end
But this only includes the source for files with no corresponding interface file - it looks like ocamlbuild refuses to pass .ml files to ocamldoc when there is an .mli file present. It'd be nice if it was possible to integrate ocamldoc -keep-code with ocamlbuild.
The text was updated successfully, but these errors were encountered:
Original bug ID: 5852
Reporter: mikhail.glushenkov
Status: resolved (set by @damiendoligez on 2017-03-03T10:42:36Z)
Resolution: suspended
Priority: normal
Severity: feature
Version: 4.00.1
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Related to: #4622
Monitored by: @gasche kerneis @hcarty
Bug description
I want to include source code in my generated docs. This works when I invoke ocamldoc on the command-line like this:
. However, I'm having troubles integrating this with ocamlbuild.I'm using the following code in myocamlbuild.ml:
But this only includes the source for files with no corresponding interface file - it looks like ocamlbuild refuses to pass .ml files to ocamldoc when there is an .mli file present. It'd be nice if it was possible to integrate ocamldoc -keep-code with ocamlbuild.
The text was updated successfully, but these errors were encountered: