9af620bc33
Summary: The documentation archive page gets a lot of traffic relative to other docs, yet the current version does not provide much context on each release. This PR attempts to clarify the purpose for each type of release, making it clear that users should mostly only care about the latest stable version. ![screencapture-localhost-8079-react-native-versions-html-1474917898998](https://cloud.githubusercontent.com/assets/165856/18848683/57cf20e0-83e4-11e6-961e-b93ab1c5fde5.png) Closes https://github.com/facebook/react-native/pull/10118 Differential Revision: D3927320 Pulled By: JoelMarcey fbshipit-source-id: c713e3ee65ad1a1fc23f112ec93f277fe981a5fa |
||
---|---|---|
.. | ||
core | ||
jsdocs | ||
layout | ||
server | ||
src/react-native | ||
.gitignore | ||
README.md | ||
package.json | ||
publish-gh-pages.js | ||
setup.sh |
README.md
Install prerequisites
Before running the website, make sure you've run the following:
git clone https://github.com/facebook/react-native.git
cd react-native
npm install
Run the website server
The first time, get all the website dependencies loaded via
cd website
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