Commit Graph

34 Commits

Author SHA1 Message Date
Nikita Gusakov e55b373a61 Split iOS and Android docs into different categories 2015-09-18 20:54:05 +03:00
James Ide f9f050e617 [Docs] Update RN website docs to mention Node 4+ instead of io.js
The io.js codebase has been rebranded as "Node.js", so moving forward everyone should install the latest version of Node. The name "io.js" is no longer.
2015-09-14 16:16:10 -07:00
James Ide fd4e75644f [docs] remove instructions to install node/io.js with brew
nvm is way better than homebrew for managing node installations:

 - can install multiple versions
 - can choose which version of node to install
 - easy to clean up under ~/.nvm
 - there are still some rough edges with /usr/local on El Cap -- nvm avoids those altogether
2015-08-10 14:31:48 -07:00
James Ide 554f23276b [Docs] Update setup instructions to install io.js 2.x instead of latest
The ws module has not been updated to work with 3.x quite yet.
2015-08-06 14:22:45 -07:00
James Ide de13b59dd2 [Docs] Explain more about nvm in the io.js setup docs
Clarify that io.js is the modern version of Node and explain a little more about how to get set up with nvm, and that it lets you switch between multiple io.js/node versions.
2015-07-29 17:29:18 -07: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
Khoa Phan 572157d14b Minor grammatical fixes:
1. 'Install' should be 'installed' (past tense)
2. Change 'checkout' to 'check out'
2015-07-09 19:48:25 -07: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 e0adedde78 Merge pull request #764 from Rudimental/patch-1
Fix grammar in EmbeddedApp.md
2015-05-11 14:02:51 -07:00
Artem Yarulin 9913e421d7 index.ios.js has to be created inside ReactComponent 2015-04-22 17:27:25 +03:00
David Rabkin 7c0a332b81 Fix grammar in EmbeddedApp.md 2015-04-08 16:28:29 -07:00
Christopher Chedeau 1c7f39e461 Add JavaScript Environment in the docs and fix a few things 2015-04-08 11:06:56 -07:00
Jinhyuk Lee e3be311c3f Correct permalink 2015-04-04 00:00:56 +09:00
sungwook yeom 379e15fe81 using relative path instead of absolute path for Image tag 2015-04-03 10:09:07 +09:00
Christopher Chedeau 0915e2a2d5 Merge pull request #558 from Za1batsu/patch-2
Fixed broken image link for EmbeddedAppExample.png
2015-04-01 08:47:43 -07:00
Za1batsu 760aa0d1f1 Fixed broken image link for EmbeddedAppExample.png
Image link for EmbeddedAppExample.png failed to load. Fixed link to load original image. Did not touch source code.
2015-03-31 19:04:07 -07:00
Za1batsu 6f5534eeea Fixed broken image link
Original link to image for EmbeddedAppContainerViewExample.png failed. Fixed link to load same image. Did not touch source code.
2015-03-31 18:57:25 -07:00
Andrew Sardone 2536716727 Fix some pissing a’s and the’s 2015-03-31 17:41:59 -04:00
Andrew Sardone 539ff6476a Fix some ‘CocoaPods’ capitalization 2015-03-31 17:40:59 -04:00
Andrew Sardone 1c3dd29c92 Tweak some concluding EmbeddedApp language 2015-03-31 17:34:09 -04:00
Andrew Sardone 3a6e4305ca Add instructions for pre-bundled JS in EmbeddedApp 2015-03-31 17:34:09 -04:00
Andrew Sardone 2ec88bdd8b Tweak copy around adding an outlet for ReactView 2015-03-31 17:34:09 -04:00
Andrew Sardone 5dac2cb093 Add concluding statement about React behind a UIView 2015-03-31 17:34:08 -04:00
Andrew Sardone 67a2790521 Tweak formatting to note class names in code blocks
I think this helps identify classes and code files as opposed to
emphasized prose.
2015-03-31 17:34:08 -04:00
Andrew Sardone 47f3a77227 Tweak some formatting of example index.ios.js 2015-03-31 17:34:08 -04:00
Andrew Sardone f3ddef0ff3 Move ReactComponent out of Pods directory in EmbeddableApp
It doesn’t seem like a good practice to tell people to create their custom
ReactComponent directory inside of the Pods/ directory. The Pods/ directory
should be limited to CocoaPods installed content, and it’s not even
accepted across the board to [check this stuff into git][1]

Therefore, let’s tune the EmbeddableApp tutorial to instruct users to
create a ReactComponent directory at the root of their project. From there,
we’ll start the development server packager to source that directory as
a JS files root. This change also improves starting this packager server,
proxying the command through npm.

[1]: 5883804e6c/Objective-C.gitignore (L20-L26)
2015-03-31 17:34:08 -04:00
Andrew Sardone 48bcbecf8c Set demo script to 'use strict' for EmbeddedApp 2015-03-31 17:34:08 -04:00
Andrew Sardone af8edb8e40 Add overview to ‘Create Your React Native App’ section
Hopefully this helps people how simple the process is!
2015-03-31 17:34:08 -04:00
Andrew Sardone c07953a37e Remove --verbose flag from `pod install`
It might be too chatty for people just starting out, but I can see why
people might want it.
2015-03-31 17:34:08 -04:00
Andrew Sardone cfba63edd4 Add intro explaining embedding React in existing app 2015-03-31 17:34:08 -04:00
Orta f18493400c Use correct capitalisation in CocoaPods 2015-03-31 16:14:45 -04:00
Christopher Chedeau ed7b5cb187 Fix docs 2015-03-31 09:46:45 -07:00
John Wu 35bea5fddc Local image resources for docs 2015-03-31 23:24:37 +08:00
John Wu 4040295750 typo fixed 2015-03-31 23:20:26 +08:00