react-native/Libraries
Christine Abernathy 22f59a88a6 Improve autogen for reference docs including jsdoc support
Summary:
As part of improving the API and Component reference docs #8154 this pull request adds the following:

- jsdoc support for API docs. See the AlertIOS changes as an example.
- type definitions support and added to both API and Component docs. This is supported via react-docgen and jsdoc.
- better formatting of method properties (now shown in a table).

FYI, API and Component docs were previously generated in two different ways. Components were using react-docgen and that basically remains as-is. APIs were using custom parsing code and that's been switched to use a jsdoc parser + react-docgen as an option for typedefs (it could also use the jsdoc parser).

Two docs have been updated to showcase how we'd like the new docs to look:

- AlertIOS (API): showing method parameters, examples, typedefs, more details overall.
- Statusbar (Component): showing method parameters, typedefs, more details overall.

**Note**: To convert new API docs to use the new format, add `jsdoc` to the initial file comment. C
Closes https://github.com/facebook/react-native/pull/8196

Differential Revision: D3465037

Pulled By: lacker

fbshipit-source-id: 78415d44bc5be02db802f5b1f7a0b249689abdf7
2016-06-21 14:28:43 -07:00
..
ART Fixed ART views 2016-06-08 00:13:30 -07:00
ActionSheetIOS Update RCTActionSheetManager.m 2016-06-04 16:28:19 -07:00
AdSupport Text highlighting on iOS 2015-07-24 08:41:58 -08:00
Animated Delay some requires in Animated 2016-06-14 05:14:01 -07:00
AppRegistry Refactor BugReporing to avoid multiple registers 2016-05-18 14:28:26 -07:00
AppState Updated AppState module to use new emitter system 2016-05-23 09:13:37 -07:00
BatchedBridge Memoize lazy module configs 2016-05-16 03:58:23 -07:00
BugReporting Make BugReporting not pull in native module on require 2016-05-19 12:58:21 -07:00
CameraRoll Fixed website generation for CameraRoll.js 2016-06-08 04:13:49 -07:00
Components Improve autogen for reference docs including jsdoc support 2016-06-21 14:28:43 -07:00
CustomComponents Fix Navigator jumpTo same route issue 2016-06-21 13:43:25 -07:00
DebugComponentHierarchy Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
Devtools Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
EventEmitter Add a removeListener method to DeviceEventEmitter for Framework consi… 2016-05-24 11:45:51 -07:00
Experimental More sensitive swipe gesture recognition 2016-06-15 19:13:31 -07:00
Fetch Reject promise if network request failed 2016-03-08 16:37:24 -08:00
Geolocation Update RCTNetworking, RCTNetInfo and RCTLocationManager to use new events system 2016-05-25 04:28:36 -07:00
Image Support multi sources for images 2016-06-13 14:13:25 -07:00
Inspector Update React to 15.2.0-rc.1 2016-06-16 14:44:18 -07:00
Interaction Make InteractionManager tasks cancellable 2016-06-08 22:58:19 -07:00
JavaScriptAppEngine Remove RCTLog from prod builds 2016-06-15 10:28:29 -07:00
LayoutAnimation Properly validate layout animation config 2016-06-07 16:28:29 -07:00
Linking Hook up Android intent to Linking.js #7079 2016-06-05 18:58:24 -07:00
LinkingIOS Updated Linking and PushNotificationIOS modules to use NativeEventEmitter 2016-05-27 10:28:23 -07:00
Modal explicit type args in react-native-github 2016-05-24 18:28:26 -07:00
NativeAnimation Add support for native animations on iOS 2016-06-09 10:43:51 -07:00
NavigationExperimental Pass the current and previous transition props to `render`, `onTransitionStart` and `onTransitionEnd`. 2016-06-21 14:13:27 -07:00
Network v0.27.0: fbsource 2016-06-13 14:28:25 -07:00
PushNotificationIOS Added logging to push registration failure. 2016-06-18 08:58:20 -07:00
QuickPerformanceLogger added QPL for main interactions 2015-09-29 22:25:23 -07:00
RCTTest Add UIGraphicsPush/PopContext to prevent lost reference during snapshot testing 2016-06-14 09:58:41 -07:00
RKBackendNode Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
ReactIOS RN: Lazily Symbolicate Warnings 2016-06-16 19:13:23 -07:00
ReactNative Move React Core Integration to a Dependency 2016-04-21 09:28:23 -07:00
Sample Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Settings Updated AppState module to use new emitter system 2016-05-23 09:13:37 -07:00
Storage change undeclared variable to intended value 2016-05-26 01:43:30 -07:00
StyleSheet Decompose transform matrix in native (for android). 2016-06-21 11:28:29 -07:00
Text adds textAlignment to placeholder to match textViews alignment (for m… 2016-06-10 20:28:23 -07:00
Utilities Improve autogen for reference docs including jsdoc support 2016-06-21 14:28:43 -07:00
Vibration Add support for vibration patterns 2016-03-29 21:45:20 -07:00
WebSocket Reconnect RCTWebSocketManager when packager restarts 2016-06-20 10:58:32 -07:00
react-native remove NativeMethodsMixin from react-native.js.flow 2016-06-16 22:29:05 -07:00
vendor Fixed NativeEventListener deregistration 2016-05-16 04:13:56 -07:00
Promise.js Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
promiseRejectionIsError.js Add possibility to `console.error`/redbox on promise rejections 2016-03-15 05:22:22 -07:00