generate documentation for latest and for master