mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 17:21:11 +08:00
CI now builds docs website and deploys it to /%version% path
Summary: Copy of #5760 reverted merge. We need to preserve history of docs changes on the webserver. The goal is to allow users to browse outdated versions of docs. To make things simple all websites will be released to https://facebook.github.io/react-native/releases/version/XX folder when there is a branch cut. I switched from Travis CI to Cirle CI because it works faster and I am more familiar with it. How it works: 1. If code is pushed to `master` branch then CI will build a fresh version of docs and put it in https://github.com/facebook/react-native/tree/gh-pages/releases/next folder. Github will serve this website from https://facebook.github.io/react-native/releases/version/next URL. All relative URLs will work within that website 2. If code is pushed to `0.20-stable` branch then CI will build a fresh version of docs and put it in https://github.com/facebook/react-native/tree/gh-pages/releases/0.20 folder. Github will serve this website from https://facebook.github.io/react-native/releases/v Closes https://github.com/facebook/react-native/pull/5873 Reviewed By: svcscm Differential Revision: D2926901 Pulled By: androidtrunkagent fb-gh-sync-id: 16aea430bac815933d9c603f03921cc6353906f1 shipit-source-id: 16aea430bac815933d9c603f03921cc6353906f1
This commit is contained in:
committed by
facebook-github-bot-0
parent
0b89b18b1b
commit
6f1417c849
@@ -55,7 +55,7 @@ React Native Android use [gradle](https://docs.gradle.org) as a build system. We
|
||||
* Android Support Repository
|
||||
2. Click "Install Packages"
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
### Install Genymotion
|
||||
|
||||
@@ -75,7 +75,7 @@ Genymotion is much easier to set up than stock Google emulators. However, it's o
|
||||
3. [Configure hardware acceleration (HAXM)](http://developer.android.com/tools/devices/emulator.html#vm-mac), otherwise the emulator is going to be slow.
|
||||
4. Create an Android Virtual Device (AVD):
|
||||
1. Run `android avd` and click on **Create...**
|
||||

|
||||

|
||||
2. With the new AVD selected, click `Start...`
|
||||
5. To bring up the developer menu press F2 (or install [Frappé](http://getfrappe.com))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user