Browse Source

fetch_doc.rb:

* Fixed URL
* Added doc/configuring
* Removed dokuwiki <code> blocks
master
Andrea Luzzardi 17 years ago
parent
commit
f277b86817
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      fetch_doc.rb

+ 4
- 2
fetch_doc.rb View File

@ -8,9 +8,9 @@
require 'open-uri'
BASE_URI = 'http://www.pamusb.org/doku/doc/'
BASE_URI = 'http://www.pamusb.org/wiki/doc/'
DOC_PATH = './pam_usb/doc/'
DOCS = [ 'install', 'upgrading' ]
DOCS = [ 'install', 'upgrading', 'configuring' ]
REPLACE_LIST = [
# Extract text area from xhtml document.
@ -26,6 +26,8 @@ REPLACE_LIST = [
{ :pattern => /&lt;/, :with => '<' },
{ :pattern => /&gt;/, :with => '>' },
{ :pattern => /&quot;/, :with => '"' },
{ :pattern => /<code .+>.*\n/, :with => '' },
{ :pattern => /<\/code>.*\n/, :with => '' },
# Remove trailing whitespaces
{ :pattern => /^ /, :with => '' },


Loading…
Cancel
Save