modified conf.py to produce an s3 friendly paginated index