Cleanup the doc before contribution