Add script to update and stage any changes to documentation before commit
Fix documentation for curried functions