Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004622OCamlOCamlbuild (the tool)public2008-10-14 23:382013-07-28 23:11
Reporterdario 
Assigned Togasche 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version3.10.2 
Target VersionFixed in Version 
Summary0004622: Ocamlbuild needs support for generating documentation from implementation files
DescriptionAccording to the Ocamlbuild manual, "generating documentation in formats other than HTML or from implementations is not supported". However, the latter feature is *very* useful, especially for projects that are already using Ocamlbuild for all other purposes.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0004682)
dario (reporter)
2008-10-17 01:04

Actually, this seems to be more of a documentation issue: the Ocamlbuild manual is misleading in this regard. Nevertheless, being able to merge the documentation from mli and ml files is also a welcome feature.
(0005134)
ygrek (reporter)
2009-10-16 12:07

correct me if I am wrong but looks like adding the corresponding flags to ocamldoc is enough :

     flag ["ocaml"; "doc"] (S[A"-short-functors"; A"-sort"; A"-m"; A"A"]);
(0006020)
hcarty (reporter)
2011-06-22 18:54

The "-m A" arguments are part of the solution. They are not enough though, as ocamlbuild only passes the .mli to ocamldoc if a .mli exists.

- Issue History
Date Modified Username Field Change
2008-10-14 23:38 dario New Issue
2008-10-17 01:04 dario Note Added: 0004682
2008-10-29 13:51 doligez Status new => assigned
2008-10-29 13:51 doligez Assigned To => ertai
2009-10-16 12:07 ygrek Note Added: 0005134
2010-07-22 11:44 ertai Assigned To ertai =>
2010-07-22 11:44 ertai Assigned To => xclerc
2011-06-22 18:54 hcarty Note Added: 0006020
2012-02-02 15:17 protz Category OCamlbuild => OCamlbuild (the tool)
2013-07-28 22:56 gasche Tag Attached: junior_job
2013-07-28 23:10 gasche Tag Detached: junior_job
2013-07-28 23:11 gasche Assigned To xclerc => gasche


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker