Sha256: c39972a9cb9c088ab89f6566e36f518d2a79e1210a1330881738319dd8c959e3

Contents?: true

Size: 463 Bytes

Versions: 3

Compression:

Stored size: 463 Bytes

Contents

# encoding: utf-8

class Yardoc < Thor
  desc "generate", "Generate Yardoc documentation for rango."
  def generate
    # template, textile or rdoc or md
    # -t: template [available: default, javadoc]
    # -m: markup style used in documentation [available: textile, markdown, rdoc]
    %x[yardoc -r README.textile lib/rango.rb lib/rango/**/*.rb -t default -o doc/head]
  end

  desc "clean", "Remove the documentation"
  def clean
    %x[rm -rf doc]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rango-0.0.6 tasks/yardoc.thor
rango-0.1.pre tasks/yardoc.thor
rango-0.0.4 tasks/yardoc.thor