Updated conf.py to work again rather than cause an infinite loop