public String getContents() {
            return contents;
        }
Records what was written to the section previously and writes it back.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/generators/GeneratorUtils.java