#!/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/doku/doc/' DOC_PATH = './pam_usb/doc/' DOCS = [ 'install', 'upgrading' ] REPLACE_LIST = [ # Extract text area from xhtml document. { :pattern => /.*