Sha256: f8ef1703c76db4bde97016de7b31071c4f9a05f9edaf03ad1c1dfeeb41034707

Contents?: true

Size: 1.12 KB

Versions: 445

Compression:

Stored size: 1.12 KB

Contents

module Fastlane
  module Actions
    class JazzyAction < Action
      def self.run(params)
        Actions.verify_gem!('jazzy')
        command = "jazzy"
        command << " --config #{params[:config]}" if params[:config]
        Actions.sh(command)
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Generate docs using Jazzy"
      end

      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

      def self.output
      end

      def self.return_value
      end

      def self.authors
        ["KrauseFx"]
      end

      def self.is_supported?(platform)
        [:ios, :mac].include?(platform)
      end

      def self.example_code
        [
          'jazzy'
        ]
      end

      def self.category
        :documentation
      end
    end
  end
end

Version data entries

445 entries across 445 versions & 2 rubygems

Version Path
fastlane-2.114.0.beta.20190108200048 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20190107200010 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20190106200016 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20190105200036 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20190104200013 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20190103200013 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20190102200016 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20190101200013 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20181231200027 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20181230200014 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20181229200101 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20181228200027 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20181227200058 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20181226200116 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20181225200026 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20181224200038 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20181223200038 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20181222200027 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.113.0.beta.20181221200014 fastlane/lib/fastlane/actions/jazzy.rb