text: import sys
  import os
  
  try:
      import sphinx_rtd_theme
      html_theme = 'sphinx_rtd_theme'
      html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
  except ImportError:
      html_theme = 'default'
  
  # If extensions (or modules to document with autodoc) are in another directory,
  # add these directories to sys.path here. If the directory is relative to the
  # documentation root, use os.path.abspath to make it absolute, like shown here.
  sys.path.insert(0, os.path.dirname(os.path.abspath('.')))
  
  # Add any Sphinx extension module names here, as strings. They can be
  # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
  extensions = ['sphinx.ext.autodoc',
                'sphinx.ext.todo',
                'sphinx.ext.coverage',
                'sphinx.ext.viewcode',
                'sphinx.ext.graphviz']
  
  # Add any paths that contain templates here, relative to this directory.
  templates_path = ['_templates']
  
  # The suffix of source filenames.
  source_suffix = '.rst'
  
  # The master toctree document.
  master_doc = 'index'
  
  # General information about the project.
  project = u'aiohttp_themes'
  copyright = u'2016, Scott Torborg'
  
  # The version info for the project you're documenting, acts as replacement for
  # |version| and |release|, also used in various other places throughout the
  # built documents.
  #
  # The short X.Y version.
  version = '0.0.3.dev'
  # The full version, including alpha/beta/rc tags.
  release = '0.0.3.dev'
  
  # List of patterns, relative to source directory, that match files and
  # directories to ignore when looking for source files.
  exclude_patterns = ['_build']
  
  # The name of the Pygments (syntax highlighting) style to use.
  pygments_style = 'sphinx'
  
  # -- Options for HTML output --------------------------------------------------
  
  # The name for this set of Sphinx documents.  If None, it defaults to
  # "<project> v<release> documentation".
  html_title = 'aiohttp_themes ' + version
  
  # Add any paths that contain custom static files (such as style sheets) here,
  # relative to this directory. They are copied after the builtin static files,
  # so a file named "default.css" will overwrite the builtin "default.css".
  html_static_path = ['_static']
  
  # Output file base name for HTML help builder.
  htmlhelp_basename = 'aiohttp_themesdoc'
  
  # -- Options for LaTeX output -------------------------------------------------
  
  # Grouping the document tree into LaTeX files. List of tuples
  # (source start file, target name, title, author, documentclass
  # [howto/manual]).
  latex_documents = [
      ('index', 'aiohttp_themes.tex', u'aiohttp_themes Documentation',
       u'Scott Torborg', 'manual'),
  ]
  
  # -- Options for manual page output -------------------------------------------
  
  # One entry per manual page. List of tuples
  # (source start file, name, description, authors, manual section).
  man_pages = [
      ('index', 'aiohttp_themes', u'aiohttp_themes Documentation',
       [u'Scott Torborg'], 1)
  ]
  
  # -- Options for Texinfo output -----------------------------------------------
  
  # Grouping the document tree into Texinfo files. List of tuples
  # (source start file, target name, title, author,
  #  dir menu entry, description, category)
  texinfo_documents = [
      ('index',
       'aiohttp_themes',
       u'aiohttp_themes Documentation',
       u'Scott Torborg',
       'aiohttp_themes',
       'One line description of project.',
       'Miscellaneous'),
  ]
  