react-native/website
Nick Lockwood ac12f98689 Added support for taking snapshots of the screen, window or individual views
Summary:This adds a `takeSnapshot` method to UIManager that can be used to capture screenshots as an image.

The takeSnapshot method accepts either 'screen', 'window' or a view ref as an argument.

You can also specify the size, format and quality of the captured image.

I've added an example of capturing a screenshot at UIExplorer > Snapshot / Screenshot.
I've also added an example of sharing a screenshot to the UIExplorer > ActionSheetIOS demo.

Reviewed By: javache

Differential Revision: D2958351

fb-gh-sync-id: d2eb93fea3297ec5aaa312854dd6add724a7f4f8
shipit-source-id: d2eb93fea3297ec5aaa312854dd6add724a7f4f8
2016-02-23 02:26:33 -08:00
..
core Added ability to switch version in documentation website 2016-02-12 11:57:35 -08:00
jsdocs [autodocs] add doc blocks to more things 2015-09-03 11:53:20 -07:00
layout Fixed relative links in generated docs 2016-02-17 07:30:45 -08:00
server Added support for taking snapshots of the screen, window or individual views 2016-02-23 02:26:33 -08:00
src/react-native Add "Reading" case 2016-02-22 09:44:31 -08: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 Added ability to switch version in documentation website 2016-02-12 11:57:35 -08:00
publish-gh-pages.js Yet another fix for CI to find branch that contaisn tag latest 2016-02-15 13:08:31 -08: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