lib/jazzy/config.rb in jazzy-0.14.0 vs lib/jazzy/config.rb in jazzy-0.14.1
- old
+ new
@@ -474,9 +474,15 @@
description: 'Create separate pages for all global declarations '\
"(classes, structures, enums etc.) even if they don't "\
'have children.',
default: false
+ config_attr :include_spi_declarations,
+ command_line: '--[no-]include-spi-declarations',
+ description: 'Include Swift declarations marked `@_spi` even if '\
+ '--min-acl is set to `public` or `open`.',
+ default: false
+
# rubocop:enable Layout/ArgumentAlignment
def initialize
self.class.all_config_attrs.each do |attr|
attr.set_to_default(self)