refactor into Sphinx docs to use RTD