text: # Configuration file for the Sphinx documentation builder.
  #
  # This file only contains a selection of the most common options. For a full
  # list see the documentation:
  # https://www.sphinx-doc.org/en/master/usage/configuration.html
  
  # -- Path setup --------------------------------------------------------------
  
  # 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.
  #
  # import os
  # import re
  # import sys
  # print("Build with:", sys.version)
  # parent_dir = os.path.dirname(os.getcwd())
  # initfile = os.path.join(parent_dir,'selprotopy','__init__.py')
  # sys.path.insert(0,parent_dir)
  # print(parent_dir)
  # # Gather Version Information from Python File
  # with open(initfile) as fh:
      # file_str = fh.read()
      # name = re.search('_name_ = \"(.*)\"', file_str).group(1)
      # ver = re.search('_version_ = \"(.*)\"', file_str).group(1)
      # # Version Breakdown:
      # # MAJOR CHANGE . MINOR CHANGE . MICRO CHANGE
      # print("Sphinx HTML Build For:",name,"   Version:",ver)
  
  
  # Verify Import
  try:
      import selprotopy
  except:
      print("Couldn't import `selprotopy` module!")
      sys.exit(9)
  
  
  # -- Project information -----------------------------------------------------
  
  project = 'selprotopy'
  copyright = '2020, Joe Stanley'
  author = 'Joe Stanley'
  
  
  # -- General configuration ---------------------------------------------------
  
  # 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.napoleon',
                  'sphinx.ext.autosummary',
                  'numpydoc',
                  'sphinx_sitemap',
  ]
  autosummary_generate = True
  numpydoc_show_class_members = True
  
  # Add any paths that contain templates here, relative to this directory.
  templates_path = ['_templates']
  
  # List of patterns, relative to source directory, that match files and
  # directories to ignore when looking for source files.
  # This pattern also affects html_static_path and html_extra_path.
  exclude_patterns = []
  
  
  # -- Options for HTML output -------------------------------------------------
  
  # The theme to use for HTML and HTML Help pages.  See the documentation for
  # a list of builtin themes.
  #
  html_theme = 'classic'
  html_title = 'selprotopy'
  html_logo  = '../logo/selprotopy.png'
  html_favicon = '../logo/relay.png'
  html_theme_options = {
      'rightsidebar':     'false',
      'stickysidebar':    'false',
      'collapsiblesidebar': 'false',
      'externalrefs':     'false',
      'footerbgcolor':    '#08385D',
      'footertextcolor':  '#ffffff',
      'sidebarbgcolor':   '#08385D',
      # 'sidebartextcolor': ,
      'relbarbgcolor':    '#08385D',
      'relbartextcolor':  '#ffffff',
      # 'relbarlinkcolor':  '#3432D8',
      'bgcolor':          '#ffffff',
      # 'textcolor':        ,
      'linkcolor':        '#3432D8',
      # 'visitedlinkcolor': ,
      'headbgcolor':      '#C1C1C1',
      'headtextcolor':    '#08385D',
      'headlinkcolor':    '#3432D8',
      # 'codebgcolor':      ,
      # 'codetextcolor':    ,
      # 'bodyfont':         ,
      # 'headfont':         ,
  }
  
  # 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']
  
  
  
  
  # END