From ea8f58418401ff03626828282be94415b318efec Mon Sep 17 00:00:00 2001 From: Konstantin Raev Date: Sat, 23 Apr 2016 07:56:54 -0700 Subject: [PATCH] fixed website generation code (refer some API that is now in React codebase) Summary:vjeux spicyj this fixes website generation because these API are now in React. I would refer React file but it seems fragile because it is a thirdparty dependency now. How do we document thirdparty API? Closes https://github.com/facebook/react-native/pull/7163 Differential Revision: D3216771 fb-gh-sync-id: b0653a0bbe0f84dc509f74d185f494ac343405a8 fbshipit-source-id: b0653a0bbe0f84dc509f74d185f494ac343405a8 --- website/server/extractDocs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/server/extractDocs.js b/website/server/extractDocs.js index 602eaf2c2..a9b7e8fa6 100644 --- a/website/server/extractDocs.js +++ b/website/server/extractDocs.js @@ -271,9 +271,9 @@ var apis = [ '../Libraries/LayoutAnimation/LayoutAnimation.js', '../Libraries/Linking/Linking.js', '../Libraries/LinkingIOS/LinkingIOS.js', - '../Libraries/ReactIOS/NativeMethodsMixin.js', + '../node_modules/react/lib/NativeMethodsMixin.js', '../Libraries/Network/NetInfo.js', - '../Libraries/vendor/react/browser/eventPlugins/PanResponder.js', + '../node_modules/react/lib/PanResponder.js', '../Libraries/Utilities/PixelRatio.js', '../Libraries/PushNotificationIOS/PushNotificationIOS.js', '../Libraries/Components/StatusBar/StatusBarIOS.ios.js',