lib/jazzy/config.rb in jazzy-0.14.1 vs lib/jazzy/config.rb in jazzy-0.14.2
- old
+ new
@@ -191,10 +191,16 @@
command_line: '--source-directory DIRPATH',
description: 'The directory that contains the source to be documented',
default: Pathname.pwd,
parse: ->(sd) { expand_path(sd) }
+ config_attr :symbolgraph_directory,
+ command_line: '--symbolgraph-directory DIRPATH',
+ description: 'A directory containing a set of Swift Symbolgraph files ' \
+ 'representing the module to be documented',
+ parse: ->(sd) { expand_path(sd) }
+
config_attr :excluded_files,
command_line: ['-e', '--exclude filepath1,filepath2,…filepathN', Array],
description: 'Source file pathnames to be excluded from documentation. '\
'Supports wildcards.',
default: [],
@@ -588,9 +594,16 @@
if source_host_configured &&
source_host_url.nil? &&
source_host_files_url.nil?
warning 'Option `source_host` is set but has no effect without either '\
'`source_host_url` or `source_host_files_url`.'
+ end
+
+ if objc_mode &&
+ build_tool_arguments_configured &&
+ (framework_root_configured || umbrella_header_configured)
+ warning 'Option `build_tool_arguments` is set: values passed to '\
+ '`framework_root` or `umbrella_header` may be ignored.'
end
end
# rubocop:enable Metrics/MethodLength