updated conf.py teasers code