Update React Native documentation (0.25)

pull/407/head
Thibaut Courouble 9 years ago
parent 4468f65dd8
commit bca4178d6a

@ -0,0 +1,15 @@
module Docs
class ReactNative
class CleanHtmlFilter < Filter
def call
if root_page?
css('#unsupported + div + center', '#unsupported + div', '#unsupported', '.toggler', 'center > img').remove
end
css('center > .button', 'p:contains("short survey")').remove
doc
end
end
end
end

@ -3,7 +3,7 @@ module Docs
self.name = 'React Native'
self.slug = 'react_native'
self.type = 'react'
self.release = '0.24'
self.release = '0.25'
self.base_url = 'https://facebook.github.io/react-native/docs/'
self.root_path = 'getting-started.html'
self.links = {
@ -11,6 +11,8 @@ module Docs
code: 'https://github.com/facebook/react-native'
}
html_filters.push 'react_native/clean_html'
options[:root_title] = 'React Native Documentation'
options[:only_patterns] = nil
options[:skip] = %w(

Loading…
Cancel
Save