lib/jazzy/config.rb in jazzy-0.13.4 vs lib/jazzy/config.rb in jazzy-0.13.5
- old
+ new
@@ -435,9 +435,16 @@
command_line: '--undocumented-text UNDOCUMENTED_TEXT',
description: 'Default text for undocumented symbols. The default '\
'is "Undocumented", put "" if no text is required',
default: 'Undocumented'
+ config_attr :separate_global_declarations,
+ command_line: '--[no-]separate-global-declarations',
+ description: 'Create separate pages for all global declarations '\
+ "(classes, structures, enums etc.) even if they don't "\
+ 'have children.',
+ default: false
+
# rubocop:enable Style/AlignParameter
def initialize
self.class.all_config_attrs.each do |attr|
attr.set_to_default(self)