react-native/Libraries/Components
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
..
ActivityIndicator Replace deprecated ActivityIndicatorIOS and ProgressBar with ActivityIndicator 2016-06-13 22:28:24 -07:00
Clipboard Annotate Clipboard module 2016-02-15 10:05:34 -08:00
DatePicker Native propTypes RCTDatePickerIOS !== propTypes DatePickerIOS 2016-06-01 08:58:22 -07:00
DatePickerAndroid Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
DrawerAndroid Fixed typo 2016-05-08 11:47:49 -07:00
Intent Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Keyboard Open sourced KeyboardAvoidingView 2016-06-07 07:43:49 -07:00
MapView Note that MapView is not yet available on Android 2016-06-13 12:43:33 -07:00
Navigation NavigatorIOS: Expose interactivePopGestureEnabled property 2016-05-06 03:18:20 -07:00
Picker Fix Android picker controlling 2016-05-07 15:52:19 -07:00
ProgressBarAndroid Cross platform ActivityIndicator 2016-05-26 13:58:17 -07:00
ProgressViewIOS Removed exported constants for fixed-size views 2016-04-26 04:21:39 -07:00
RefreshControl Fix Typo 2016-06-10 13:58:22 -07:00
ScrollView Fix broken image cropper - can not scroll 2016-06-09 23:13:31 -07:00
SegmentedControlIOS Removed exported constants for fixed-size views 2016-04-26 04:21:39 -07:00
Slider Fix website after open sourcing Slider 2016-04-06 08:51:23 -07:00
SliderIOS Fix website after open sourcing Slider 2016-04-06 08:51:23 -07:00
StatusBar Improve autogen for reference docs including jsdoc support 2016-06-21 14:28:43 -07:00
Switch Update Switch.js 2016-04-17 21:01:29 -07:00
SwitchAndroid RN: Improve <Switch> Documentation 2016-03-25 15:17:20 -07:00
SwitchIOS RN: Improve <Switch> Documentation 2016-03-25 15:17:20 -07:00
TabBarIOS TabBarIOS itemPositioning - Fixes #4136 2016-05-20 17:28:50 -07:00
TextInput Fix onLayout support in <TextInput> 2016-06-10 03:28:44 -07:00
TimePickerAndroid Fixed typo in docs 2016-04-06 08:55:20 -07:00
ToastAndroid Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
ToolbarAndroid Added ColorPropType 2015-12-23 10:08:38 -08:00
Touchable Components:Touchables: Expose Accessibility prop. Fix #6550 2016-06-21 08:28:23 -07:00
UnimplementedViews Quick fix to require cycle in UnimplementedView 2015-11-23 14:14:32 -08:00
View Fix bad wording in pointer events doc 2016-03-24 19:53:26 -07:00
ViewPager Fix typo in ViewPagerAndroid.android.js 2016-05-13 11:58:23 -07:00
WebView set state to LOADING on reload() 2016-06-21 02:43:49 -07:00
LazyRenderer.js Decrease TTRR (time to relay request) by lazy rendering fake group header 2016-04-17 15:04:19 -07:00
ScrollResponder.js Added native event emitter 2016-05-11 06:27:29 -07:00
StaticContainer.js Move stuff out of vendor/react_contrib/ 2015-10-12 11:18:30 -07:00
StaticRenderer.js explicit type args in react-native-github 2016-05-24 18:28:26 -07:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00