react-native/website
Janic Duplessis 49fdd99633 Display component methods on the website and tweak the documentation
Summary:The website now displays public methods on components. This was implemented mostly in react-docgen via #66. This adds a <Method> component that is used by the component and API doc pages to display documentation for a method.

It also adds some missing documentation and tweak some existing one to integrate with this feature. I also prefixed some component methods with an '_' so they don't show up in the doc.

**Test plan (required)**

Tested every component page locally to make sure the methods doc was displayed properly.
Tested an API page to make sure it still worked properly.
Closes https://github.com/facebook/react-native/pull/6890

Differential Revision: D3159911

Pulled By: vjeux

fb-gh-sync-id: 1e6a4640cda6794496d9844c1af6a1451c017dcc
fbshipit-source-id: 1e6a4640cda6794496d9844c1af6a1451c017dcc
2016-04-09 11:13:28 -07:00
..
core Fix website 2016-03-25 10:46:25 -07:00
jsdocs [autodocs] add doc blocks to more things 2015-09-03 11:53:20 -07:00
layout Display component methods on the website and tweak the documentation 2016-04-09 11:13:28 -07:00
server Display component methods on the website and tweak the documentation 2016-04-09 11:13:28 -07:00
src/react-native Update showcase.js 2016-04-07 17:25:25 -07:00
.gitignore Introduce blog 2016-03-24 14:11:30 -07:00
README.md CI now builds docs website and deploys it to /%version% path 2016-02-11 06:17:42 -08:00
package.json Display component methods on the website and tweak the documentation 2016-04-09 11:13:28 -07:00
publish-gh-pages.js added script to release blog independent of website versioning 2016-03-24 13:28:24 -07:00
setup.sh Docs for website setup 2015-12-28 12:47:09 -08:00

README.md

Run the website server

The first time, get all the dependencies loaded via

npm install

Then, run the server via

npm start
open http://localhost:8079/react-native/index.html

Anytime you change the contents, just refresh the page and it's going to be updated.

Publish the website

cd website
npm run publish-website