text: import os
  
  on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
  
  extensions = []
  templates_path = ['_templates']
  source_suffix = '.rst'
  master_doc = 'index'
  project = u'django-contact-form'
  copyright = u'2007-2015, James Bennett'
  version = '1.1'
  release = '1.1'
  exclude_trees = ['_build']
  pygments_style = 'sphinx'
  html_static_path = ['_static']
  htmlhelp_basename = 'django-contact-formdoc'
  latex_documents = [
    ('index', 'django-contact-form.tex', u'django-contact-form Documentation',
     u'James Bennett', 'manual'),
  ]
  if not on_rtd:
      import sphinx_rtd_theme
      html_theme = 'sphinx_rtd_theme'
      html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
  
  