Sha256: 7501361fe6917df52f426cc1654f5d16976ce56884944f65c51986ddec00a864
Contents?: true
Size: 556 Bytes
Versions: 1
Compression:
Stored size: 556 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' super end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stationed-0.1.0 | lib/stationed/generators/plugins/yard.rb |