pre doc commit