public static DocSettings fromNode(ObjectNode pluginSettings) {
        var references = pluginSettings.getObjectMember("references")
                .orElse(ObjectNode.objectNode())
                .getMembers()
                .entrySet()
                .stream()
                .collect(Collectors.toMap(
                        e -> ShapeId.from(e.getKey().getValue()),
                        e -> e.getValue().expectStringNode().getValue()));
        return new DocSettings(
                pluginSettings.expectStringMember("service").expectShapeId(),
                pluginSettings.getStringMemberOrDefault("format", "sphinx-markdown"),
                references);
    }
Load the settings from an {@code ObjectNode}.

@param pluginSettings the {@code ObjectNode} to load settings from.
@return loaded settings based on the given node.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/DocSettings.java