Making the theme work on rtd as well as locally.