Fix conf.py to remove deprecation warnings.
Merge pull request #1 from punchagan/fix-deprecation-errors

Fix conf.py to remove deprecation warnings.