Convert URL for rst