Turn docs to reST format.

Turn docs to reST format.