changing links to RST format