Christine Abernathy
aaf557da52
Fix instructions so react-native packages are installed first
...
Summary:
Post React 15.x one of the files pulled in for documentation reside in that repo: NativeMethodsMixin.js
This ensures that developers install react-native packages first (which includes React) so the file can be found when it's referenced in server/extractDocs.js
**Test plan (required)**
1. Ran through the instructions.
2. Made sure http://localhost:8079/react-native/docs/nativemethodsmixin.html exists in the nav and is shows correctly.
Closes https://github.com/facebook/react-native/pull/7882
Differential Revision: D3376395
Pulled By: caabernathy
fbshipit-source-id: bfcef271516ed2b21f04d86114dfceb2ff35138c
2016-06-01 17:58:22 -07: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
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
Christopher Dro
200e69e39f
[Docs] Website - Change port from 8080 to 8079
2015-12-03 10:48:03 -08:00
Nader Dabit
65ea5d36f5
Changed uppercase O to lower case o
2015-10-27 19:48:02 -05:00
Spencer Ahrens
0c9571fce3
tweak website readme
2015-03-26 10:23:15 -07:00
Christopher Chedeau
2cdce0f3df
[Website] Use postinstall hook to npm install react-docgen
2015-03-13 21:20:55 -07:00
Kenny Dits @kenny_dee
b05ca6e604
Add the temporary react-docgen instruction
2015-03-05 09:26:32 +01:00
Christopher Chedeau
9231d4f8f0
Initial version of the website and docs.
2015-02-11 20:26:43 -08:00