Publish generated jsdocs on push to main branch

closes #447