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
..
2016-04-27 19:16:32 -07:00
2016-04-27 19:16:32 -07:00
2016-01-21 10:57:26 -08:00
2015-03-23 16:47:26 -08:00
2016-04-29 07:35:22 -07:00
2016-06-01 13:59:16 -07:00
2016-02-27 15:58:35 -08:00
2016-02-27 15:58:35 -08:00
2016-05-17 12:43:40 -07:00
2015-03-23 16:47:26 -08:00
2015-08-06 20:22:24 -08:00
2015-12-15 09:09:32 -08:00
2016-01-15 05:15:31 -08:00
2016-06-03 05:43:26 -07:00
2016-06-03 05:43:26 -07:00
2016-06-13 10:13:36 -07:00