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.28.0.beta.20170420010017 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.28.0.beta.20170419010123 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.28.0.beta.20170418010021 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.28.0.beta.20170417010100 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.28.0.beta.20170416010028 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.28.0.beta.20170415010110 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.27.0 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.27.0.beta.20170414010035 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.27.0.beta.20170413010117 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.27.0.beta.20170412010036 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.27.0.beta.20170411010118 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.27.0.beta.20170410010020 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.27.0.beta.20170409010031 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.26.1 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.27.0.beta.20170408010009 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.27.0.beta.20170407010056 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.26.0 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.26.0.beta.20170406010019 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.26.0.beta.20170405010026 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.26.0.beta.20170404010022 fastlane/lib/fastlane/actions/jazzy.rb