porting docs to rst