Sha256: 4cf48e59889837eb8ab6308c7821de3d157993a0e488f14872a62297552d593f

Contents?: true

Size: 1.02 KB

Versions: 49

Compression:

Stored size: 1.02 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
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
fastlane-1.104.0 lib/fastlane/actions/jazzy.rb
fastlane-1.103.0 lib/fastlane/actions/jazzy.rb
fastlane-1.102.0 lib/fastlane/actions/jazzy.rb
fastlane-1.101.0 lib/fastlane/actions/jazzy.rb
fastlane-1.100.0 lib/fastlane/actions/jazzy.rb
fastlane-1.99.0 lib/fastlane/actions/jazzy.rb
fastlane-1.98.0 lib/fastlane/actions/jazzy.rb
fastlane-1.97.2 lib/fastlane/actions/jazzy.rb
fastlane-1.97.1 lib/fastlane/actions/jazzy.rb
fastlane-1.97.0 lib/fastlane/actions/jazzy.rb
fastlane-1.96.0 lib/fastlane/actions/jazzy.rb
fastlane-1.95.0 lib/fastlane/actions/jazzy.rb
fastlane-1.94.1 lib/fastlane/actions/jazzy.rb
fastlane-1.94.0 lib/fastlane/actions/jazzy.rb
fastlane-1.93.1 lib/fastlane/actions/jazzy.rb
fastlane-1.93.0 lib/fastlane/actions/jazzy.rb
fastlane-1.92.0 lib/fastlane/actions/jazzy.rb
fastlane-1.92.0.beta2 lib/fastlane/actions/jazzy.rb
fastlane-1.92.0.beta1 lib/fastlane/actions/jazzy.rb
fastlane-1.91.0 lib/fastlane/actions/jazzy.rb