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.
23 lines
638 B
23 lines
638 B
module Docs
|
|
class Relay < UrlScraper
|
|
self.type = 'simple'
|
|
self.release = '1.4.1'
|
|
self.base_url = 'https://facebook.github.io/relay/docs/'
|
|
self.root_path = 'getting-started.html'
|
|
self.links = {
|
|
home: 'https://facebook.github.io/relay/',
|
|
code: 'https://github.com/facebook/relay'
|
|
}
|
|
|
|
html_filters.push 'relay/entries', 'relay/clean_html'
|
|
|
|
options[:container] = '.documentationContent'
|
|
options[:skip] = %w(videos.html graphql-further-reading.html)
|
|
|
|
options[:attribution] = <<-HTML
|
|
© 2013–present Facebook Inc.<br>
|
|
Licensed under the BSD License.
|
|
HTML
|
|
end
|
|
end
|