Generate GBM rst file.