You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/lib/docs/scrapers/rdoc/rdoc.rb

21 lines
468 B

module Docs
class Rdoc < FileScraper
self.abstract = true
self.type = 'rdoc'
self.root_path = 'table_of_contents.html'
html_filters.replace 'container', 'rdoc/container'
html_filters.push 'rdoc/entries', 'rdoc/clean_html', 'title'
options[:title] = false
options[:skip] = %w(index.html)
options[:skip_patterns] = [
/history/i,
/rakefile/i,
/changelog/i,
/readme/i,
/news/i,
/license/i]
end
end