gen_release_notes.py: update script to the new rST way of things