Fix sphinx html build

Our Sphinx HTML build has been failing on RTD because RTD no longer works with the old version of Sphinx we're using. This should fix it..