Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007791OCamlocamldocpublic2018-05-04 11:132018-05-04 12:51
Reportertom.j.ridge 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformAllOSAllOS VersionAll
Product Version4.04.2 
Target VersionFixed in Version 
Summary0007791: ocamldoc does not seem to understand include type t = int end
Descriptionocamldoc does not seem to understand include type t = int end

In the generated html I just get "include struct ... end", and the ... is not clickable/expandable.

Perhaps I am doing something wrong?
Steps To Reproduceecho "include struct type t = int end" >tmp.ml
ocamldoc -html tmp.ml
# now look at Tmp.html
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0019100)
octachron (developer)
2018-05-04 11:30

Ocamldoc does not really understand "include" directives indeed. But odoc(https://github.com/ocaml/odoc [^]) has a far better understanding of "includes" and handles correctly your example.
(0019101)
tom.j.ridge (reporter)
2018-05-04 12:51

OK, thanks.

- Issue History
Date Modified Username Field Change
2018-05-04 11:13 tom.j.ridge New Issue
2018-05-04 11:30 octachron Note Added: 0019100
2018-05-04 12:51 tom.j.ridge Note Added: 0019101


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker