Sha256: 9bab4981cbfd03d66c7a9f37179b3f4e9dfb1f27482023abfe8c35bf79204078

Contents?: true

Size: 1.16 KB

Versions: 604

Compression:

Stored size: 1.16 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.details
      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

604 entries across 604 versions & 1 rubygems

Version Path
fastlane-2.82.0.beta.20180219010003 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.82.0.beta.20180218010003 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.82.0.beta.20180217010002 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.82.0.beta.20180216010003 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.82.0.beta.20180215010002 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.82.0.beta.20180214010002 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180213010002 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180212010003 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180211010003 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180210010002 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180209010002 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180208010003 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180207010002 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180206010002 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180205010003 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180204010002 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180203010003 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.81.0.beta.20180202010003 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.80.0 fastlane/lib/fastlane/actions/jazzy.rb