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.90.0.beta.20180411050056 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.90.0.beta.20180410050128 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.90.0.beta.20180409050033 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.90.0.beta.20180408050113 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.90.0.beta.20180407050037 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.90.0.beta.20180406050006 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.90.0.beta.20180405050125 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.90.0.beta.20180404050031 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.90.0.beta.20180403050108 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.89.0 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.89.0.beta.20180402050042 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.89.0.beta.20180401050120 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.89.0.beta.20180331050023 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.89.0.beta.20180330050046 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.89.0.beta.20180329050050 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.89.0.beta.20180328050040 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.88.0 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.88.0.beta.20180327050037 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.88.0.beta.20180325050025 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.88.0.beta.20180324050059 fastlane/lib/fastlane/actions/jazzy.rb