ocaml-doc / doc-ock

(DEPRECATED) Documentation generation for OCaml
ISC License
15 stars 4 forks source link

Support hiding #4

Open lpw25 opened 10 years ago

lpw25 commented 10 years ago

We should support hiding of modules and stop comments. I think the correct behaviour here is to perform the same transformation as the nondep_ functions in the compiler. This means attempt to remove all references to types and modules by increasing abstraction.

Where we are unable to hide a reference to something that is hidden we should annotate the reference as an unresolved reference to a hidden thing so that a reasonable error can be displayed in the output.