Skip to content

Deploying Documentation

Andrew McNutt edited this page May 12, 2017 · 2 revisions

Branch react-vis if you haven't already done so and ensure everything is properly installed

cd docs
yarn
cd ../examples/
yarn
cd ../

Checkout the remote gh-pages branch and create a new branch off it

git checkout remotes/origin/gh-pages
git branch -b gh-pages

Return to the master branch and run the docs gen script

git checkout master
yarn new-docs

This will pull you over to your newly created gh-pages branch. Confirm your changes by running http-server or live-server or the like.

Finally, Push changes to your branch and make a pull request

i.e. git push jonsadka gh-pages
Clone this wiki locally