react-native/website
Konstantin Raev 05b8944382 added script to release blog independent of website versioning
Summary:I suppose over time we should simplify the script.
But for now this will do.

Logic:
1. don't copy "blog" folder to /releases/XX when doing a docs release
2. don't copy "blog" folder to / when doing stable docs release
3. copy "blog" folder to / only when doing building docs for master branch

CC vjeux
Closes https://github.com/facebook/react-native/pull/6634

Differential Revision: D3094267

Pulled By: vjeux

fb-gh-sync-id: 1f972703ed371c114e34d9f524092ea1d2fd985b
shipit-source-id: 1f972703ed371c114e34d9f524092ea1d2fd985b
2016-03-24 13:28:24 -07:00
..
core Improve website menu on mobile 2016-03-13 19:38:26 -07:00
jsdocs [autodocs] add doc blocks to more things 2015-09-03 11:53:20 -07:00
layout RefreshControl refreshing prop and doc improvements 2016-03-13 03:04:24 -07:00
server vibration module 2016-03-03 04:08:31 -08:00
src/react-native Add Bitt Wallet to showcase 2016-03-24 08:32:19 -07:00
.gitignore CI now builds docs website and deploys it to /%version% path 2016-02-11 06:17:42 -08:00
README.md CI now builds docs website and deploys it to /%version% path 2016-02-11 06:17:42 -08:00
package.json Npm publish 2016-03-15 09:22:26 -07:00
publish-gh-pages.js added script to release blog independent of website versioning 2016-03-24 13:28:24 -07:00
setup.sh Docs for website setup 2015-12-28 12:47:09 -08:00

README.md

Run the website server

The first time, get all the dependencies loaded via

npm install

Then, run the server via

npm start
open http://localhost:8079/react-native/index.html

Anytime you change the contents, just refresh the page and it's going to be updated.

Publish the website

cd website
npm run publish-website