Filling in the gaps in conf.py. This is completely untested.