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.3.1 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.3.0 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.2.0 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.1.3 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.1.2 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.1.1 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.1.0 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.0.5 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.0.4 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.0.3 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.0.2 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-2.0.1 fastlane/lib/fastlane/actions/jazzy.rb
fastlane-1.111.0 lib/fastlane/actions/jazzy.rb
fastlane-1.110.0 lib/fastlane/actions/jazzy.rb
fastlane-1.109.0 lib/fastlane/actions/jazzy.rb
fastlane-1.108.0 lib/fastlane/actions/jazzy.rb
fastlane-1.107.0 lib/fastlane/actions/jazzy.rb
fastlane-1.106.2 lib/fastlane/actions/jazzy.rb
fastlane-1.106.1 lib/fastlane/actions/jazzy.rb
fastlane-1.106.0 lib/fastlane/actions/jazzy.rb