Clone the rst2bash repository.
$ git clone git://git.openstack.org/openstack/rst2bash $ cd rst2bash
Check the usage section for more details.