convert docs to reST