瀏覽代碼

Update React Native documentation (0.27)

Thibaut Courouble 9 年之前
父節點
當前提交
3146b4829b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lib/docs/scrapers/react_native.rb

+ 2 - 1
lib/docs/scrapers/react_native.rb

@@ -3,7 +3,7 @@ module Docs
     self.name = 'React Native'
     self.slug = 'react_native'
     self.type = 'react'
-    self.release = '0.26'
+    self.release = '0.27'
     self.base_url = 'https://facebook.github.io/react-native/docs/'
     self.root_path = 'getting-started.html'
     self.links = {
@@ -15,6 +15,7 @@ module Docs
 
     options[:root_title] = 'React Native Documentation'
     options[:only_patterns] = nil
+    options[:skip_patterns] = [/\Asample\-/]
     options[:skip] = %w(
       videos.html
       transforms.html