lib/jazzy/config.rb in jazzy-0.1.4 vs lib/jazzy/config.rb in jazzy-0.1.5

- old
+ new

@@ -105,11 +105,11 @@ https://github.com/realm/realm-cocoa/tree/v0.87.1)') do |g| config.github_file_prefix = g end opt.on('-s', '--sourcekitten-sourcefile FILEPATH', - 'XML doc file generated from sourcekitten to parse') do |s| + 'File generated from sourcekitten output to parse') do |s| config.sourcekitten_sourcefile = Pathname(s) end opt.on('-r', '--root-url URL', 'Absolute URL root where these docs will be stored') do |r| @@ -155,9 +155,14 @@ end opt.on('--source-directory DIRPATH', 'The directory that contains ' \ 'the source to be documented') do |source_directory| config.source_directory = Pathname(source_directory) + end + + opt.on('--readme FILEPATH', + 'The path to a markdown README file') do |readme| + config.readme_path = Pathname(readme) end opt.on('-v', '--version', 'Print version number') do puts 'jazzy version: ' + Jazzy::VERSION exit