react-native/website
Christine Abernathy 09958618c5 Adding emulator, simulator UIExplorer example across docs
Summary:Current docs show an Appetize.io example for AlertIOS doc. This pull request adds that feature across all applicable iOS and Android docs. So if a doc has an example in UIExplorer, it shows up in the top right and clicking to Play should navigate to the relevant example.

The changes here also touched NavigationExperimental to fix a typo that prevented iOS deep link from working. Code was also added to help support Android deep links but there's an outstanding issue (a race condition) around how Android deep links trigger getInitialURL in NavigationRootContainer that prevents this from fully working.

For adding the docs, a few things were done outside this pull request:

1/ Release builds for UIExplorer Android and iOS apps were uploaded to Appetize.io. The Appetize.io info (public key to run the build) is embedded in the docs.
2/ The iOS build was generated by making a few changes to get a local bundle. The current UIExplorer set up doesn't support "react-native run-ios".

Regarding the Appetize bu
Closes https://github.com/facebook/react-native/pull/6306

Differential Revision: D3129651

Pulled By: bestander

fb-gh-sync-id: d296d64db8236faa36f35484bb6b362990caf934
fbshipit-source-id: d296d64db8236faa36f35484bb6b362990caf934
2016-04-04 06:05:23 -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 Adding emulator, simulator UIExplorer example across docs 2016-04-04 06:05:23 -07:00
server Adding emulator, simulator UIExplorer example across docs 2016-04-04 06:05:23 -07:00
src/react-native Adding emulator, simulator UIExplorer example across docs 2016-04-04 06:05:23 -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 Npm publish 2016-03-15 09:22:26 -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