Commit Graph
294 Commits
Author SHA1 Message Date
Konstantin Raev 85299dcf1d Added ability to switch version in documentation website
Website header now contains version number which is a link.
Clicking the link redirects you to a page that lists all the previous versions of the website.

Considering that we do a branch cut every 2 weeks a solution with dropdown did not feel right because it would grow fast.
As an improvement for the future - we could link change docs in the versions.html
2016-02-15 10:40:24 +00:00
Konstantin Raev 07375f26d5 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

Conflicts:
	Libraries/Utilities/AlertIOS.js
	circle.yml
	website/layout/AutodocsLayout.js

Conflicts:
	Libraries/Components/ScrollView/ScrollView.js
	Libraries/PushNotificationIOS/PushNotificationIOS.js
	docs/GettingStarted.md
	website/publish.sh
2016-02-15 10:40:10 +00:00
Adam Miskiewicz 46609cf7f0 Merge pull request #5108 from le0pard/patch-1
Add RWpodPlayer as showcase for React Native apps
2016-01-04 09:20:29 -05:00
Alexey Vasiliev c91f9ce576 Add RWpodPlayer as showcase for React Native apps 2016-01-04 15:13:13 +02:00
lvwang2002 2af06b3c08 Update showcase.js
all the function of android version made by react native
the function of search of iOS version made by react native.
2016-01-04 12:34:57 +08:00
Sharath Prabhal 4d403efab3 Add 'Eat or Not' play store link 2016-01-03 00:13:17 -05:00
Janic Duplessis 2d50ac359c Fix issues running the website locally on windows with npm3 2016-01-02 03:56:32 -05:00
Satyajit Sahoo dd8e1f91d8 Merge pull request #4994 from genki/patch-2
Update showcase.js
2015-12-30 04:29:23 +05:30
Adam Miskiewicz cc1bad54ea [Website] First pass at Algolia Doc Search
It’s not yet responsive :(
2015-12-29 12:45:33 -05:00
Adam Miskiewicz 4963225295 [Website] Fixing JS error 2015-12-29 12:45:29 -05:00
Brent Vatne c9ccf1fe4c Merge pull request #4984 from sunnylqm/patch-1
add community translation links
2015-12-28 21:06:08 -08:00
Noah Jorgenson dfa541a050 Docs for website setup
- always start website/setup.sh in website
- use setup.sh in website README
2015-12-28 12:47:09 -08:00
Genki Takiuchi 315180dd90 Update showcase.js
Added a link to android app of DockMan.
2015-12-28 16:39:50 +09:00
Satyajit Sahoo 23de42ba3f Merge pull request #4206 from mrcasals/fix_docs
Add Switch docs
2015-12-27 21:03:43 +05:30
sunnylqm 1eb12b2fbf add community translation links
add community translation links to help spreading react-native!
2015-12-26 23:52:18 +08:00
toomass 176d45633a Added CBS Sports Franchise Football to Showcase
Adding CBS Sports Franchise Football to the React Native showcase,
2015-12-23 15:35:14 -08:00
Genki Takiuchi 8dab7f46e5 DockMan app added to showcase 2015-12-22 18:36:35 +09:00
Ravi Vagadia fef686fb46 Add 'Koza Gujarati Dictionary' to showcase
Added 'Koza Gujarati Dictionary' to showcase
2015-12-22 14:12:17 +05:30
Martin Konicek 73b2c529ca Add alert docs 2015-12-19 02:05:50 +01:00
Satyajit Sahoo 657ffba434 Merge pull request #4860 from LukeAvery92/master
added WEARVR android version to showcase
2015-12-18 16:18:08 +05:30
luke.avery 98b57f8fd2 added WEARVR android version to showcase 2015-12-18 09:45:06 +00:00
Nader Dabit 606b914209 fixed showcase to display well on mobile 2015-12-17 10:35:16 -06:00
Satyajit Sahoo 97c75cf5a4 Merge pull request #4839 from LukeAvery92/master
added WEARVR app to showcase
2015-12-17 18:40:06 +05:30
luke.avery f58f3913c0 added WEARVR app to showcase 2015-12-17 11:30:17 +00:00
Tom Hastjarjanto a38cd48737 Remove part of query string 2015-12-16 17:32:27 +01:00
Tom Hastjarjanto d131fa0962 Add Pimmr to showcase 2015-12-16 17:30:43 +01:00
James Ide 4e2a31685c Merge pull request #4800 from pedro/lugg
showcase Lugg's android app
2015-12-15 16:27:06 -08:00
Pedro Belo adaadadde8 showcase Lugg's android app 2015-12-15 11:32:56 -08:00
Satyajit Sahoo 2f32cccce7 Add docs for 'IntentAndroid' 2015-12-15 21:20:40 +05:30
Brent Vatne 7af12a1c5c [Showcase] Promote MovieLaLa to featured 2015-12-14 17:19:33 -08:00
Baris Sencan 328bb59076 [Showcase] Add Movie Trailers by MovieLaLa 2015-12-14 14:14:36 -08:00
Dotan Nahum ff58629640 Alphabetical ordering 2015-12-14 14:13:58 +02:00
Dotan Nahum b8f3730d8d Adding Due to showcase (Apps) 2015-12-14 13:22:21 +02:00
James Ide de677205ec [Website] Add PullToRefreshViewAndroid to the web docs 2015-12-12 20:30:39 -08:00
Alex Ledak 0ad6f5ebf1 Add 'Thai Tone' to showcase 2015-12-12 17:10:43 +07:00
Sharath Prabhal 7003f8dbeb Add 'Eat or Not' to showcase 2015-12-11 10:09:31 -05:00
Cory Binnersley 6e6a92eeee Added Accio Delivery App to website showcase. 2015-12-10 15:36:52 -08:00
Pratham Agrawal 7600909caf Added Hubhopper to the showcase. 2015-12-07 23:03:12 +05:30
Christopher Dro 200e69e39f [Docs] Website - Change port from 8080 to 8079 2015-12-03 10:48:03 -08:00
sercanov 7e4c8b2d2d sorted alphabetically 2015-12-02 14:43:01 +02:00
sercanov 873efa2e97 added Mobabuild app 2015-12-02 14:27:18 +02:00
Perry Poon 16b9c7d6f6 change order in showcase 2015-12-01 23:01:48 +08:00
Perry Poon da9e9e709b add mockingbot to showcase 2015-12-01 10:50:35 +08:00
Tsung Han (Jake) Yang 4e04e3bc28 Revert "Add TYDY to the Showcase" 2015-11-30 11:50:56 -08:00
Jake Yang b86b5af1e8 Add TYDY to the Showcase 2015-11-30 11:30:02 -08:00
Julius Jurgelenas e379536c11 Showcase: add blog post link to Formations Factory Company name search app 2015-11-26 12:43:39 +02:00
Ben Alpert fab8e38759 Fix ABC order of docs nav 2015-11-25 21:26:32 -08:00
Brent Vatne c11d861807 [Docs] Update style of paragraphs within showcase 2015-11-25 14:15:47 -08:00
Brent Vatne 0d2eb748f7 [Docs] Re-imagining the showcase 😇 2015-11-25 14:10:03 -08:00
Satyajit Sahoo e6897dd9b3 Merge pull request #4338 from cvrajeesh/master
Add Nalathe Kerala to showcase
2015-11-25 14:36:31 +05:30