lib/jazzy/config.rb in jazzy-0.9.6 vs lib/jazzy/config.rb in jazzy-0.10.0

- old
+ new

@@ -1,10 +1,9 @@ require 'optparse' require 'pathname' require 'uri' -require 'jazzy/doc' require 'jazzy/podspec_documenter' require 'jazzy/source_declaration/access_control_level' module Jazzy # rubocop:disable Metrics/ClassLength @@ -211,11 +210,18 @@ description: 'Name of module being documented. (e.g. RealmSwift)', default: '' config_attr :version, command_line: '--module-version VERSION', - description: 'module version. will be used when generating docset', + description: 'Version string to use as part of the the default docs '\ + 'title and inside the docset.', default: '1.0' + + config_attr :title, + command_line: '--title TITLE', + description: 'Title to display at the top of each page, overriding the '\ + 'default generated from module name and version.', + default: '' config_attr :copyright, command_line: '--copyright COPYRIGHT_MARKDOWN', description: 'copyright markdown rendered at the bottom of the docs pages'