ocamldoc doesn't handle module/type substitution in signatures #5645
Hi, it looks like ocamldoc doesn't handle module type or module substitutions in signatures.
Steps to reproduce
$ cat > z.mli
$ ocamldoc z.mli
I think the issue is that the substituted types are erased from the typed tree, but are still present in the parse tree. The attached patch removes them from the parse tree as well.