@Override
    public void generateIntEnumShape(GenerateIntEnumDirective<DocGenerationContext, DocSettings> directive) {
        var shape = directive.shape();
        var intEnum = shape.asIntEnumShape()
                .orElseThrow(() -> new ExpectationNotMetException(
                        "Expected an intEnum shape, but found " + shape,
                        shape));
        new StructuredShapeGenerator(directive.context()).accept(intEnum, MemberListingType.OPTIONS);
    }
The main entry points for documentation generation.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/DirectedDocGen.java