backporting 4f17c0bf02bfe292972bf631387c1e37c5e9995d to RTD docs