@VisibleForTesting
    static String toSnakeCase(String name) {
        return name.replaceAll("(.)([A-Z][a-z])", "$1_$2").toLowerCase();
    }
@Test
    void testSnakeCaseConversion() {
        assertThat(ConfigOptionsDocGenerator.toSnakeCase("RocksOptions"))
                .isEqualTo("rocks_options");
        assertThat(ConfigOptionsDocGenerator.toSnakeCase("RocksDBOptions"))
                .isEqualTo("rocksdb_options");
        assertThat(ConfigOptionsDocGenerator.toSnakeCase("DBOptions")).isEqualTo("db_options");
    }