Commit Graph

34 Commits

Author SHA1 Message Date
Konstantin Raev 6f1417c849 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
2016-02-11 06:17:42 -08:00
张亦驰 dde5e02c01 fix the syntax error in doc tutorial
Summary:
maybe it is a bug when migrating from es5 to es6
Closes https://github.com/facebook/react-native/pull/5526

Reviewed By: svcscm

Differential Revision: D2860047

Pulled By: androidtrunkagent

fb-gh-sync-id: d8be261eea08ec659999fe8c714f33aca6fe3a60
2016-01-25 01:31:34 -08:00
Moz Morris f7cb745195 Update Tutorial.md with missing Component import
Summary: Closes https://github.com/facebook/react-native/pull/5484

Reviewed By: svcscm

Differential Revision: D2854745

Pulled By: androidtrunkagent

fb-gh-sync-id: b89a8dbef33cc0d89d5e94fa7c5f35219d7c8147
2016-01-22 06:54:33 -08:00
sunnylqm 7d457b09b4 Turn to ES6
Summary: Closes https://github.com/facebook/react-native/pull/5460

Reviewed By: svcscm

Differential Revision: D2850417

Pulled By: androidtrunkagent

fb-gh-sync-id: 8ba8bf935de53676cb4930712fabfe832208213f
2016-01-21 10:41:43 -08:00
Justas Brazauskas 264ece1f72 Fix typos in ./docs 2015-12-15 18:13:25 +02:00
Lev Taydakov ecc79dc6f5 Fix misspelling 2015-09-20 13:48:27 -07:00
Sahat Yalkabov 365cdde1ef Update iOS .xcodeproj path 2015-09-16 18:26:28 -07:00
Martin Konicek 42eb5464fd Release React Native for Android
This is an early release and there are several things that are known
not to work if you're porting your iOS app to Android.

See the Known Issues guide on the website.

We will work with the community to reach platform parity with iOS.
2015-09-14 18:13:39 +01:00
James Ide a97a866570 [Docs] Update installation docs to reference io.js instead of Node
It's pretty straightforward -- io.js is available through Homebrew so all you run is `brew install iojs` and then you can still run `node` from the command line. Also mentioned nvm since it's really good for switching between Node/io.js versions.
2015-07-02 11:42:25 -07:00
Brent Vatne c700f71cb5 [Docs] Add link to Homebrew in tutorial, suggestion for node install 2015-06-01 12:42:49 -07:00
Quico Moya c88b1d2c88 Fix grammatical error 2015-05-06 12:29:25 +02:00
Seyi Adebajo 03b73cc28c Fixed typo in tutorial 2015-03-30 00:46:06 -04:00
Tadeu Zagallo 9b0c2a4d30 Fix typo and add comments to the example app 2015-03-27 20:44:20 +00:00
Tadeu Zagallo b00d4b394f Update tutorial - use sample data 2015-03-27 20:33:24 +00:00
Dylan Kirby e23797bfc8 Fix 'respondible' typo in Tutorial 2015-03-27 14:41:10 -04:00
lqd 875b1359aa Fix a couple typos
I feel this is what the author meant :)
2015-03-26 22:27:05 +01:00
rsudekum 47cd815909 remove extraneous word 2015-03-26 10:59:03 -07:00
Andrew Rasmussen 09ffce48a3 Reference blog post in Tutorial 2015-03-26 10:38:23 -07:00
Krzysztof Magiera bc0ecaddc9 Update styles for ListView in tutorial 2015-03-26 09:03:10 -07:00
Krzysztof Magiera 049e3534b5 Update padding and bg color for tutorial 2015-03-26 09:01:41 -07:00
Krzysztof Magiera 8b8d5fd19b Use AwesomeProject instead of SampleApp in the final tutorial code 2015-03-26 08:52:15 -07:00
Krzysztof Magiera e340e01504 Further improvements of Tutorial.md 2015-03-26 08:42:27 -07:00
Krzysztof Magiera 4e4b90e1e8 Some tweaks of Tutorial.md 2015-03-26 08:13:30 -07:00
Andrew Rasmussen 3555e4be9e Update Tutorial.md 2015-03-26 00:35:23 -07:00
Spencer Ahrens 14b1a78600 Update some language in Tutorial.md 2015-03-26 00:19:03 -07:00
Andrew Rasmussen 74e72f2cd7 Update Tutorial.md 2015-03-25 22:15:12 -07:00
Andrew Rasmussen 0b3cce1fd2 Tutorial - shorten URL 2015-03-25 21:49:58 -07:00
Andrew Rasmussen b344c938df Update Tutorial.md 2015-03-25 21:08:46 -07:00
Christopher Chedeau 119a050ed8 Make images work 2015-03-25 20:30:41 -07:00
Andrew Rasmussen 41453a55d0 Finish tutorial draft 2015-03-25 19:57:37 -07:00
Andrew Rasmussen bd64b14fbe Update Tutorial.md 2015-03-25 17:53:08 -07:00
Christopher Chedeau 3b5c2617c5 Move around the docs a bit 2015-03-25 11:52:29 -07:00
Christopher Chedeau 3aee972116 Update Tutorial.md 2015-03-25 09:10:22 -07:00
Andrew Rasmussen eceed064f7 Add Tutorial.md 2015-03-25 02:08:09 -07:00