@Override
    public boolean isIntercepted(ShapeSubheadingSection section) {
        return section.shape().getMemberTrait(section.context().model(), DeprecatedTrait.class).isPresent();
    }
Adds deprecation warnings to shape docs.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/interceptors/DeprecatedInterceptor.java