Clean up restructured text generator