jonludlam / odoc

Documentation compiler for OCaml and Reason
Other
0 stars 0 forks source link

Reimpl ocamlary test using Mdx #2

Closed Julow closed 4 years ago

Julow commented 4 years ago

There is some problems with this approach:

The advantage is that the toplevel can print any values. I use some custom printers to shorten the representation of some values (Location_.with_location and Root.t). I didn't manage to have short-paths working.

Do you think we can skip testing cmt and cmi files ?

Julow commented 4 years ago

Too slow and output too big. Let's close this for now. We could reuse the top of ocamlary.md, though. There is code to make the output nicer, what do you think?