lib/jazzy/config.rb in jazzy-0.1.6 vs lib/jazzy/config.rb in jazzy-0.2.0
- old
+ new
@@ -37,11 +37,11 @@
self.module_name = ''
self.author_url = URI('')
self.clean = false
self.docset_platform = 'jazzy'
self.version = '1.0'
- self.min_acl = SourceDeclaration::AccessControlLevel.internal
+ self.min_acl = SourceDeclaration::AccessControlLevel.public
self.skip_undocumented = false
self.source_directory = Pathname.pwd
end
def podspec=(podspec)
@@ -124,14 +124,14 @@
config.version = mv
end
opt.on('--min-acl [private | internal | public]',
'minimum access control level to document \
- (default is internal)') do |acl|
+ (default is public)') do |acl|
if acl == 'private'
config.min_acl = SourceDeclaration::AccessControlLevel.private
- elsif acl == 'public'
- config.min_acl = SourceDeclaration::AccessControlLevel.public
+ elsif acl == 'internal'
+ config.min_acl = SourceDeclaration::AccessControlLevel.internal
end
end
opt.on('--[no-]skip-undocumented',
"Don't document declarations that have no documentation \