Generate rst table data and fill it into rst template.