mirage / ocaml-rpc

Light library to deal with RPCs in OCaml
ISC License
96 stars 31 forks source link

markdowngen: document nested variants and structs #99

Closed gaborigloi closed 6 years ago

gaborigloi commented 6 years ago

These variants and structs that are not an input/output parameter, and therefore not included in type_decls, also contain useful documentation for their tags / fields, so it's helpful to document these too. Now these variants and structs will be referenced by name in type definitions, since their documentation is included in the page.

Signed-off-by: Gabor Igloi gabor.igloi@citrix.com

gaborigloi commented 6 years ago

I've tested this PR and the output looks as expected, no types are repeated and the nested types are documented as expected.