#!/usr/bin/env ruby # # fetch_doc.rb # # Fetch the documentation from the wiki and translate it # to be human readable. # require 'open-uri' BASE_URI = 'http://www.pamusb.org/wiki/doc/' DOC_PATH = './pam_usb/doc/' DOCS = [ 'install', 'upgrading', 'configuring' ] REPLACE_LIST = [ # Extract text area from xhtml document. { :pattern => /.*