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