# Path: libconfig/_version.py
# def get_versions():
#     """Get version information or return default if unable to do so."""
#     # I am in _version.py, which lives at ROOT/VERSIONFILE_SOURCE. If we have
#     # __file__, we can work backwards from there to the root. Some
#     # py2exe/bbfreeze/non-CPython implementations don't do __file__, in which
#     # case we can only use expanded keywords.
# 
#     cfg = get_config()
#     verbose = cfg.verbose
# 
#     try:
#         return git_versions_from_keywords(get_keywords(), cfg.tag_prefix,
#                                           verbose)
#     except NotThisMethod:
#         pass
# 
#     try:
#         root = os.path.realpath(__file__)
#         # versionfile_source is the relative path from the top of the source
#         # tree (where the .git directory might live) to this file. Invert
#         # this to find the root from __file__.
#         for i in cfg.versionfile_source.split('/'):
#             root = os.path.dirname(root)
#     except NameError:
#         return {"version": "0+unknown", "full-revisionid": None,
#                 "dirty": None,
#                 "error": "unable to find root of source tree",
#                 "date": None}
# 
#     try:
#         pieces = git_pieces_from_vcs(cfg.tag_prefix, root, verbose)
#         return render(pieces, cfg.style)
#     except NotThisMethod:
#         pass
# 
#     try:
#         if cfg.parentdir_prefix:
#             return versions_from_parentdir(cfg.parentdir_prefix, root, verbose)
#     except NotThisMethod:
#         pass
# 
#     return {"version": "0+unknown", "full-revisionid": None,
#             "dirty": None,
#             "error": "unable to compute version", "date": None}


import sphinx_bootstrap_theme
import matplotlib as mpl
from libconfig._version import get_versions
# 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.

# 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.
#

mpl.use("Agg")


# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'

# 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.coverage',
              'sphinx.ext.githubpages',
              'sphinx.ext.intersphinx',

# Path: libconfig/_version.py
# def get_versions():
#     """Get version information or return default if unable to do so."""
#     # I am in _version.py, which lives at ROOT/VERSIONFILE_SOURCE. If we have
#     # __file__, we can work backwards from there to the root. Some
#     # py2exe/bbfreeze/non-CPython implementations don't do __file__, in which
#     # case we can only use expanded keywords.
# 
#     cfg = get_config()
#     verbose = cfg.verbose
# 
#     try:
#         return git_versions_from_keywords(get_keywords(), cfg.tag_prefix,
#                                           verbose)
#     except NotThisMethod:
#         pass
# 
#     try:
#         root = os.path.realpath(__file__)
#         # versionfile_source is the relative path from the top of the source
#         # tree (where the .git directory might live) to this file. Invert
#         # this to find the root from __file__.
#         for i in cfg.versionfile_source.split('/'):
#             root = os.path.dirname(root)
#     except NameError:
#         return {"version": "0+unknown", "full-revisionid": None,
#                 "dirty": None,
#                 "error": "unable to find root of source tree",
#                 "date": None}
# 
#     try:
#         pieces = git_pieces_from_vcs(cfg.tag_prefix, root, verbose)
#         return render(pieces, cfg.style)
#     except NotThisMethod:
#         pass
# 
#     try:
#         if cfg.parentdir_prefix:
#             return versions_from_parentdir(cfg.parentdir_prefix, root, verbose)
#     except NotThisMethod:
#         pass
# 
#     return {"version": "0+unknown", "full-revisionid": None,
#             "dirty": None,
#             "error": "unable to compute version", "date": None}


# Path: sphinx-docs/source/conf.py
import sphinx_bootstrap_theme
import matplotlib as mpl
from libconfig._version import get_versions

# 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.

# 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.
#

mpl.use("Agg")


# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'

# 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.coverage',
              'sphinx.ext.githubpages',
              'sphinx.ext.intersphinx',

              'sphinx.ext.autosummary',