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.
24 lines
616 B
24 lines
616 B
module Docs
|
|
class React < UrlScraper
|
|
self.name = 'React'
|
|
self.type = 'react'
|
|
self.version = '0.12.2'
|
|
self.base_url = 'http://facebook.github.io/react/docs/'
|
|
self.root_path = 'getting-started.html'
|
|
|
|
html_filters.push 'react/entries', 'react/clean_html'
|
|
|
|
options[:container] = '.documentationContent'
|
|
|
|
options[:skip] = %w(
|
|
videos.html
|
|
complementary-tools.html
|
|
examples.html)
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2013–2014 Facebook Inc.<br>
|
|
Licensed under the Creative Commons Attribution 4.0 International Public License.
|
|
HTML
|
|
end
|
|
end
|