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.87.0 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.87.0.beta.20180323050014 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.87.0.beta.20180322050115 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.2 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.87.0.beta.20180321050017 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.1 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.87.0.beta.20180320050108 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0.beta.20180319050058 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0.beta.20180318050106 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0.beta.20180317050040 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0.beta.20180316050051 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0.beta.20180315050105 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0.beta.20180314050053 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0.beta.20180313050023 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0.beta.20180312050111 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0.beta.20180311050103 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0.beta.20180310050010 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.86.0.beta.20180309050025 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.85.0 fastlane/lib/fastlane/actions/jazzy.rb