made conf.py into a template so that intersphinx links point to the correct version of the docs