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
Original bug ID: 7791 Reporter: tom.j.ridge Status: new Resolution: open Priority: normal Severity: minor Platform: All OS: All OS Version: All Version: 4.04.2 Category: ocamldoc
Bug description
ocamldoc 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 reproduce
echo "include struct type t = int end" >tmp.ml
ocamldoc -html tmp.ml
now look at Tmp.html
The text was updated successfully, but these errors were encountered:
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.
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.
Original bug ID: 7791
Reporter: tom.j.ridge
Status: new
Resolution: open
Priority: normal
Severity: minor
Platform: All
OS: All
OS Version: All
Version: 4.04.2
Category: ocamldoc
Bug description
ocamldoc 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 reproduce
echo "include struct type t = int end" >tmp.ml
ocamldoc -html tmp.ml
now look at Tmp.html
The text was updated successfully, but these errors were encountered: