@Override
    public void generateUnion(GenerateUnionDirective<DocGenerationContext, DocSettings> directive) {
        new StructuredShapeGenerator(directive.context()).accept(directive.shape(), MemberListingType.OPTIONS);
    }
The main entry points for documentation generation.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/DirectedDocGen.java