2b86aba390
Summary: <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> Changing all pages in doc to have title " - React Native", which will make the results easier to distinguish like suggested in issue #15659. I'm not shure how to write a test to this but if you open any page in doc you can see the page title has changed when the title is passed to Site component. Closes https://github.com/facebook/react-native/pull/15714 Differential Revision: D5739971 Pulled By: TheSavior fbshipit-source-id: ba9b5ea83fe5c502653972262eb993a24941a62e |
||
---|---|---|
.. | ||
core | ||
jsdocs | ||
layout | ||
server | ||
src/react-native | ||
.gitignore | ||
README.md | ||
package.json | ||
publish-gh-pages.js | ||
setup.sh | ||
showcase.json |
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
The website at https://facebook.github.io/react-native is automatically deployed by our continuous integration infrastructure, specifically CircleCI. This is configured in circle.yml
in the root of the repository.