put things in conf.py so rtd can build docs ok
Merge pull request #35 from adamgreig/fixdocs

put things in conf.py so rtd can build docs ok