Use mock.Mock() in sphinx's conf.py