text: import os
  import sys
  import imp
  import datetime as dt
  import sphinx_rtd_theme
  
  # 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.abspath('.'))
  sys.path.insert(0, os.path.abspath('..'))
  
  # General information about the project.
  project = "python-certsrv"
  copyright = "{}, Deric Degagne".format(dt.date.today().year)
  author = "Deric Degagne"
  
  # 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 full version, including alpha/beta/rc tags.
  release = imp.load_source("certsrv.version", os.path.join("../certsrv", "version.py")).version
  
  # 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.intersphinx",
      "sphinx.ext.viewcode",
      'sphinx.ext.napoleon',
      "sphinx.ext.autosectionlabel",
      "sphinx_rtd_theme"
  ]
  
  # The suffix of source filenames.
  source_suffix = ".rst"
  
  # The master toctree document.
  master_doc = "index"
  
  # 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"
  
  # The theme to use for HTML and HTML Help pages.  See the documentation for
  # a list of builtin themes.
  html_theme = "sphinx_rtd_theme"
  
  # 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"]
  
  html_css_files = [
      "custom.css"
  ]
  
  intersphinx_mapping = {"python": ("http://docs.python.org/3", None)}