Perform doctests on RST