Sha256: 643e622659a90b48c972a9a98c6a6eb91bfc09362070433fdd73ab1ed84aba95

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

namespace :docs do
  
  desc "Generate documentation for all currently loaded recipes."
  task :recipes do
    top_node = capitate.task_tree
    
    dir = "docs/recipes"
    FileUtils.rm_rf(dir)
    FileUtils.mkdir_p(dir)
    
    top_node.write_doc(dir, "index", "Recipes")
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capitate-0.1.9 lib/recipes/docs.rb