Class: Fastlane::Actions::JazzyAction
Constant Summary
Fastlane::Action::AVAILABLE_CATEGORIES, Fastlane::Action::RETURN_TYPES
Class Method Summary
collapse
action_name, author, deprecated_notes, details, lane_context, method_missing, other_action, return_type, sample_return_value, shell_out_should_use_bundle_exec?, step_text
Class Method Details
.authors ⇒ Object
37
38
39
|
# File 'fastlane/lib/fastlane/actions/jazzy.rb', line 37
def self.authors
["KrauseFx"]
end
|
.available_options ⇒ Object
19
20
21
22
23
24
25
26
27
28
29
|
# File 'fastlane/lib/fastlane/actions/jazzy.rb', line 19
def self.available_options
[
FastlaneCore::ConfigItem.new(
key: :config,
env_name: 'FL_JAZZY_CONFIG',
description: 'Path to jazzy config file',
is_string: true,
optional: true
)
]
end
|
.category ⇒ Object
51
52
53
|
# File 'fastlane/lib/fastlane/actions/jazzy.rb', line 51
def self.category
:documentation
end
|
.description ⇒ Object
15
16
17
|
# File 'fastlane/lib/fastlane/actions/jazzy.rb', line 15
def self.description
"Generate docs using Jazzy"
end
|
.example_code ⇒ Object
45
46
47
48
49
|
# File 'fastlane/lib/fastlane/actions/jazzy.rb', line 45
def self.example_code
[
'jazzy'
]
end
|
.is_supported?(platform) ⇒ Boolean
41
42
43
|
# File 'fastlane/lib/fastlane/actions/jazzy.rb', line 41
def self.is_supported?(platform)
[:ios, :mac].include?(platform)
end
|
.output ⇒ Object
31
32
|
# File 'fastlane/lib/fastlane/actions/jazzy.rb', line 31
def self.output
end
|
.return_value ⇒ Object
34
35
|
# File 'fastlane/lib/fastlane/actions/jazzy.rb', line 34
def self.return_value
end
|
.run(params) ⇒ Object
4
5
6
7
8
9
|
# File 'fastlane/lib/fastlane/actions/jazzy.rb', line 4
def self.run(params)
Actions.verify_gem!('jazzy')
command = "jazzy"
command << " --config #{params[:config]}" if params[:config]
Actions.sh(command)
end
|