It looks like this function was deleted up above. https://github.com/rtfd/readthedocs.org/pull/658/files#diff-969dbbf52c772c94bea49196d157b204L21