47f863c4da
Summary: This was driving me crazy :p Turns out that if the value is `'auto' /* default */`, then the docparser will not only trim the comment but also normalize the quote to double quote. This is not pretty but does the job. Closes https://github.com/facebook/react-native/pull/5509 Reviewed By: svcscm Differential Revision: D2872482 Pulled By: vjeux fb-gh-sync-id: 8ba5dad695f747f82b7680ee26bdc0792e21ea8f |
||
---|---|---|
.. | ||
core | ||
jsdocs | ||
layout | ||
server | ||
src/react-native | ||
.gitignore | ||
README.md | ||
package.json | ||
publish-android.sh | ||
publish.sh | ||
setup.sh |
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
First setup your environment by having two folders, one react-native
and one react-native-gh-pages
. The publish script expects those exact names.
./setup.sh
Then, after you've done changes, just run the command and it'll automatically build the static version of the site and publish it to gh-pages.
./publish.sh