|
|
|
@ -3,22 +3,24 @@ module Docs
|
|
|
|
|
self.name = 'React'
|
|
|
|
|
self.type = 'react'
|
|
|
|
|
self.version = '0.13.3'
|
|
|
|
|
self.base_url = 'http://facebook.github.io/react/docs/'
|
|
|
|
|
self.root_path = 'getting-started.html'
|
|
|
|
|
self.base_url = 'https://facebook.github.io/react/'
|
|
|
|
|
self.root_path = 'docs/getting-started.html'
|
|
|
|
|
self.links = {
|
|
|
|
|
home: 'http://facebook.github.io/react/',
|
|
|
|
|
home: 'https://facebook.github.io/react/',
|
|
|
|
|
code: 'https://github.com/facebook/react'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html_filters.push 'react/entries', 'react/clean_html'
|
|
|
|
|
|
|
|
|
|
options[:container] = '.documentationContent'
|
|
|
|
|
|
|
|
|
|
options[:only_patterns] = [/\Adocs\//, /\Atips\//]
|
|
|
|
|
options[:skip] = %w(
|
|
|
|
|
videos.html
|
|
|
|
|
complementary-tools.html
|
|
|
|
|
examples.html
|
|
|
|
|
conferences.html)
|
|
|
|
|
docs/
|
|
|
|
|
docs/videos.html
|
|
|
|
|
docs/complementary-tools.html
|
|
|
|
|
docs/examples.html
|
|
|
|
|
docs/conferences.html
|
|
|
|
|
tips/introduction.html)
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
|
© 2013–2015 Facebook Inc.<br>
|
|
|
|
|