I would add yet another flag to renderer.nim that is used by the docgen, that leaves out a `nkIdentDef` within a `nkObjectTy` that lacks the postfix export marker. I suppose that is the solution that you described too.
- Suppressing non-exported fields in nim doc cantanima
- Suppressing non-exported fields in nim doc Araq
- Suppressing non-exported fields in nim doc cantanima
- Suppressing non-exported fields in nim doc cantanima
- Suppressing non-exported fields in nim doc Araq
