mirror of https://github.com/freeCodeCamp/devdocs
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.
21 lines
468 B
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 'title', 'rdoc/entries', 'rdoc/clean_html'
|
|
|
|
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
|