Sha256: d5f5f3886c5abac9a0ac777fd8a98225e99794dfde4b09107d2890e48d0d1f43
Contents?: true
Size: 996 Bytes
Versions: 1
Compression:
Stored size: 996 Bytes
Contents
module Fastlane class DocsGenerator def self.run(output_path, ff) output = "fastlane documentation\n" output += "================\n" output += "# Installation\n" output += "```\n" output += "sudo gem install fastlane\n" output += "```\n\n" output += "# Available Actions\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 output += "\n\n----\n" output += "More information about fastlane can be found on [https://fastlane.tools](https://fastlane.tools).\n\n" output += "The documentation of fastlane can be found on [GitHub](https://github.com/KrauseFx/fastlane)" 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.10.0 | lib/fastlane/docs_generator.rb |