David Yahalomi
7d059a12f3
docs(Embedding iOS): Added swift code for embedding react-native in an app
...
Summary: Closes https://github.com/facebook/react-native/pull/4198
Differential Revision: D3075219
Pulled By: mkonicek
fb-gh-sync-id: c350a4074e4ee586804c48b9587135f3fce7b243
shipit-source-id: c350a4074e4ee586804c48b9587135f3fce7b243
2016-03-20 18:19:22 -07:00
Mateusz Zatorski
3ae99d0fea
replace require with es6 import in docs
...
Reviewed By: svcscm
Differential Revision: D2936839
fb-gh-sync-id: 7a921709a37de5e9aadf324d5438d51851326348
shipit-source-id: 7a921709a37de5e9aadf324d5438d51851326348
2016-02-14 15:03:34 -08:00
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
James Ide
1b5b42f3cb
Remove npm 2 recommendation
...
Summary:
npm 3 is working fine especially if you use shrinkwrap at the end. we've been using it for a month+ and the dependency deduping works well.
Closes https://github.com/facebook/react-native/pull/5391
Reviewed By: svcscm
Differential Revision: D2839472
Pulled By: androidtrunkagent
fb-gh-sync-id: 33e551185236694ee5979da701312f12e2582f3c
2016-01-18 17:37:32 -08:00
Håvard Fossli
0c53c6f7ed
Notes about app transport security
...
The error message wasn't very helpful. I didn't understand the problem
until I debugged the `RCTJavaScriptLoader`. So this might be to help for
others.
Squashed commits by @andrewsardone into @hfossli’s [original
commit][oc]:
[oc]: 39fa5ca95b
- Expand App Transport Security docs w/ localhost tip
- Tweak ATS error note in EmbeddedAppIOS docs
- Per @satya164’s [recommendation][r], using the exact copy he
recommended.
[r]: https://github.com/facebook/react-native/pull/5290#discussion_r49843876
2016-01-16 10:03:57 -05:00
DougBanksPersonal
3955bebb74
Update EmbeddedAppIOS.md
2015-12-30 14:06:54 -08:00
Terry Yiu
16a29b0b87
Fix EmbeddedAppIOS documentation
...
Fix with correct init call on RCTRootView due to change in method signature from commit 261f9434e5
2015-12-08 14:30:07 -08:00
Pawel Sienkowski
c852e73f5a
[docs] A guide coverin communication between native and RN on IOS.
...
WARNING: I was not able to run the website locally because of a bug, so please test it before merging
2015-11-30 14:38:01 +01:00
James Ide
4fed9bfa7d
[Docs] Suggest installing npm 2 instead of npm 3 for perf reasons
...
npm 3 is really slow compared to npm 2, to the extent that people are reporting bugs.
2015-11-17 11:48:15 -08:00
springuper
eecdd88284
fix missing comma
2015-11-02 15:54:11 +08:00
James Ide
1f00ae787a
[Docs] Update docs to explain how to use local Pod from npm
...
These instructions were already in the docs; just gave them more meat and deleted the old instructions that talked about installing from the Pod repo. Now, we publish only to npm so these instructions are important.
2015-10-23 12:26:25 -07:00
Harry Wolff
6949be63e4
Update documentation with improved Cocoapods workflow
2015-10-18 09:48:48 -04:00
Felix Oghină
aae9f0255f
[docs] add docs for integrating with existing apps on Android
2015-10-14 17:10:47 +01:00