text: # -*- coding: utf-8 -*-
  import sphinx_rtd_theme
  
  extensions = [
      # 'sphinx.ext.autodoc',
      # 'sphinx.ext.intersphinx',
      # 'sphinx.ext.autosummary',
      # 'sphinx.ext.viewcode',
      # 'sphinx.ext.napoleon',
      # 'jupyter_sphinx.embed_widgets',
  ]
  
  templates_path = ['_templates']
  
  
  def setup(app):
      app.add_javascript("https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js")
      app.add_javascript("https://unpkg.com/@jupyter-widgets/html-manager@*/dist/embed-amd.js")
  
      app.add_stylesheet("main_stylesheet.css")
  
  master_doc = 'index'
  source_suffix = '.rst'
  
  # General information about the project.
  project = 'ipyleaflet'
  copyright = '(c) Jupyter Development Team'
  author = 'Jupyter Development Team'
  
  exclude_patterns = []
  highlight_language = 'python'
  pygments_style = 'sphinx'
  
  # Output file base name for HTML help builder.
  html_theme = "sphinx_rtd_theme"
  html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
  htmlhelp_basename = 'ipyleafletdoc'
  html_static_path = ['_static']
  