Commit Graph

19 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
Brian Douglas 574a5851e6 adds sample library distinction 2015-12-19 23:40:09 -08:00
Kureev Alexey 79799af418 Reword section description 2015-12-15 18:45:08 +01:00
Kureev Alexey 7927f1eee5 Add a section about linking process automation using rnpm 2015-12-15 17:55:38 +01:00
Nader Dabit 201a3d010a fixed various spelling errors 2015-12-10 17:27:46 -06:00
Adão Júnior 5e844c75f8 fix typo 2015-10-14 20:44:36 -03:00
Nikita Gusakov e55b373a61 Split iOS and Android docs into different categories 2015-09-18 20:54:05 +03:00
Danielle Pham 22845b56f0 Fix typo in LinkingLibraries.md
you => your
2015-09-02 18:09:12 -04:00
Martin Konicek 01911e5e06 [docs] Make it clear which Guides are platform-specific
This is in preparation for open sourcing React Native for Android.
Also add hyphens to URLs for consistency. This can break people's
browser bookmarks but it's better to be consistent and we can
redirect to docs: https://github.com/facebook/react-native/issues/2137

Test plan: Ran the website locally using `cd website; npm start`
and checked all pages render correctly.
http://i.imgur.com/RrPNgRr.png

Will update "Getting Started", "Tutorial", "Debugging" and
"Testing" separately.
2015-07-27 18:17:54 +01:00
Brent Vatne 424d1318c8 [Docs] Linking Libraries fix site->side, prefer only to just 2015-05-17 18:41:40 -07:00
Will Anderson d3119a8fb1 Fix typo in LinkingLibraries.md
s/insed/inside
2015-05-07 15:05:28 -07:00
Tadeu Zagallo de8cfae5e4 Revert "Fixed image link for AddToSearchPaths.png" 2015-04-01 20:50:13 +01:00
Tadeu Zagallo 0024a1c0a0 Revert "Fixed broken image for AddToBuildPhases.png" 2015-04-01 20:47:20 +01:00
Christopher Chedeau eacecbbca8 Merge pull request #561 from Za1batsu/patch-4
Fixed broken image for AddToBuildPhases.png
2015-04-01 08:48:06 -07:00
Christopher Chedeau e214178e68 Merge pull request #562 from Za1batsu/master
Fixed image link for AddToSearchPaths.png
2015-04-01 08:47:52 -07:00
Za1batsu e49a0f0c57 Fixed image link for AddToSearchPaths.png
AddToSearchPaths.png failed to load properly. Fixed link to load same image from "react-native/website/src/react-native/img". Did not touch source code.
2015-03-31 19:27:54 -07:00
Za1batsu 5d2e3126ad Fixed broken image for AddToBuildPhases.png
Image for AddToBuildPhases.png failed to load. Fixed link to load same image from "react-native/website/src/react-native/img". Did not touch source code.
2015-03-31 19:21:29 -07:00
Bret Rouse 16996240bf language fixes 2015-03-31 00:22:39 -04:00
Tadeu Zagallo c7a560ed90 Fix docs links 2015-03-30 20:18:33 +01:00