text: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  #
  # OCDS documentation build configuration file, created by
  # sphinx-quickstart on Fri Dec 11 15:07:47 2015.
  #
  # This file is execfile()d with the current directory set to its
  # containing dir.
  #
  # Note that not all possible configuration values are present in this
  # autogenerated file.
  #
  # All configuration values have a default; values that are commented out
  # serve to show the default.
  
  import os
  
  # Add any Sphinx extension module names here, as strings. They can be
  # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  # ones.
  extensions = ['myst_parser', 'sphinxcontrib.jsonschema', 'sphinxcontrib.opendataservices']
  
  # Add any paths that contain templates here, relative to this directory.
  templates_path = ['_templates']
  
  # The suffixes of source filenames.
  source_suffix = ['.rst', '.md']
  
  # The master toctree document.
  master_doc = 'index'
  
  # General information about the project.
  project = 'sphinxcontrib-opendataservices'
  copyright = '2017 Open Data Services, released under the MIT license'
  author = 'Open Data Services'
  
  # 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 ----------------------------------------------
  
  # 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 = 'OCDSdoc'
  
  
  # on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
  on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
  
  if not on_rtd:  # only import and set the theme if we're building docs locally
      import sphinx_rtd_theme
      html_theme = 'sphinx_rtd_theme'
      html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
  # otherwise, readthedocs.org uses their theme by default, so no need to specify it
  
  
  locale_dirs = ['locale/']   # path is example but recommended.
  gettext_compact = False     # optional.
  