Sha256: daba2614471fed7242708e815af916a25e0eb05b55509da3022161f16c3ef9cc
Contents?: true
Size: 577 Bytes
Versions: 4
Compression:
Stored size: 577 Bytes
Contents
# Support for generating documentation using Puppet Strings for each module # listed in the site directory class Onceover module CodeQuality module Docs LOCAL_MOD_DIR = "site" def self.puppet_strings(html_docs) status = true format = html_docs ? "html" : "markdown" if Dir.exist?(LOCAL_MOD_DIR) Dir.glob("#{LOCAL_MOD_DIR}/*/") { |dir| Dir.chdir(dir) { status &= system("puppet strings generate --format #{format}") } } end status end end end end
Version data entries
4 entries across 4 versions & 1 rubygems