#!/bin/sh
PATH=$PATH:/usr/local/bin:/usr/local/sbin
#
# Regenerates documentaion and adds it to the commit
echo
echo "Regenerating Documentation"
echo
npm run-script generate-docs
echo
echo
echo "Regeneration complete"
echo
echo "Adding updated docs to commit"
echo
git add apidocs
git add -u apidocs
echo