Moved doc preprocessing commands from Makefile to conf.py