Sha256: 4745f6a1f63ebf29ef7f4f3059cc5990e57c6b2c75662e84a34fa25eefc5d5ed

Contents?: true

Size: 562 Bytes

Versions: 1

Compression:

Stored size: 562 Bytes

Contents

module Fastlane
  class DocsGenerator
    def self.run(output_path, ff)
      output = "fastlane actions\n"
      output += "================\n"
      
      ff.runner.description_blocks.each do |lane, description|
        output += "## #{lane}\n\n"
        output += "```\n"
        output += "fastlane #{lane}\n"
        output += "```\n\n"
        output += description + "\n"
      end
      
      File.write(output_path, output)
      Helper.log.info "Successfully generated documentation to path '#{File.expand_path(output_path)}'".green
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fastlane-0.9.0 lib/fastlane/docs_generator.rb