Sha256: 3830e85d7d1f8469d49b551403560ad9d62dca9baf6b10dcfecd9bfb63d9aff8
Contents?: true
Size: 692 Bytes
Versions: 3
Compression:
Stored size: 692 Bytes
Contents
#!/usr/bin/env ruby # Generate RDocs # Check for 'doc' directory. # (Helps to ensure we're in the right place.) require 'ratchets/batch' dir! 'doc' # Load rdoc configuration. config = config_load('rdoc') config = { 'template' => 'html', 'op' => 'doc/rdoc', 'merge' => true, 'inline-source' => true, 'exclude' => %w{ InstalledFiles Manifest Project dev util }, 'include' => %w{ [A-Z]* lib } }.update config # Prepare command arguments. vector = config_vector(config, 'include') # Remove old rdocs, if any. dir = config['op'] abort "bad ouput directory #{dir}" if dir =~ /^\// rm_r dir if dir?(dir) # Document. rdoc(*vector)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ratch-0.1 | demo/util/rdoc |
ratch-0.2.1 | demo/util/rdoc |
ratch-0.2.2 | demo/util/rdoc |