Sha256: 6edbd2edfbb7b06b390f1b79da7933b18ee1c432c2b9609484ebd536709608da
Contents?: true
Size: 611 Bytes
Versions: 5
Compression:
Stored size: 611 Bytes
Contents
module Stationed module Generators module Plugins module Yard def self.prepended(base) base.class_option :yard, type: :boolean, default: true, desc: 'Include and configure Yard for API documentation' end def finish_template return super unless options[:yard] gem 'yard', require: false, group: :doc gem 'kramdown', require: false, group: :doc copy_file 'yardopts', '.yardopts' copy_file 'yard.rake', 'lib/tasks/yard.rake' super end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems