Files
flipper/docs
Daniel Büchele 640dee6645 auto generated UI docs
Summary:
Using `react-docgen` to automatically generate docs for our UI components.
React-docgen parses the files in `components/ui` and using comments and flowtypes to generate structured information about the UI components.

For higher-order-components `react-docgen` is not able to get the information. As we are using HOC often as part of emotion's styled-components, I added a custom parser for HOCs. Using babel/parser I am parsing the components and using their doc-comments to generate the structured description.

Then, the description generated by react-docgen and my custom parser is used to generate markdown which is added to the `ui-components.md` file of our docs.

Plus: Added some styling around the documentation of props, mostly table styles.

Reviewed By: jknoxville

Differential Revision: D12896110

fbshipit-source-id: 1337c924c06e10a5d3aa752579428fd2cc7b4743
2018-11-05 03:12:23 -08:00
..
2018-07-09 02:48:37 -07:00
2018-09-18 07:01:17 -07:00
2018-09-18 07:01:17 -07:00
2018-11-03 06:26:51 -07:00
2018-10-19 08:35:19 -07:00
2018-07-31 14:02:58 -07:00
2018-09-28 10:42:22 -07:00
2018-10-02 07:12:50 -07:00
2018-11-05 03:12:23 -08:00