Fix some pep8 problems in doc/source/conf.py and make the code more pretty. Change-Id: Iff1333441b67addb38533ba061aa89f59533fdb2