Autogenerate RST files with a separate script.

This means less daft files lying around, and means search shows text of
documentation source in snippets.