RST issue in legend doc