# Path: setup.py
# def srcfile(*args):
#     def initialize_options(self):
#     def finalize_options(self):
#     def run_tests(self):
# def _build_metadata(): # pylint: disable=too-many-locals, too-many-branches
# class PyTest(TestCommand):


import os
import re
import sys
    import sphinx_rtd_theme
from setup import project as meta
#default_role = None

# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True

# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
#add_module_names = True

# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
#show_authors = False

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []

# Napoleon settings
napoleon_numpy_docstring = False


# -- Options for HTML output ---------------------------------------------------
if not on_rtd:
    # 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 themes here, relative to this directory.

# Path: setup.py
# def srcfile(*args):
#     def initialize_options(self):
#     def finalize_options(self):
#     def run_tests(self):
# def _build_metadata(): # pylint: disable=too-many-locals, too-many-branches
# class PyTest(TestCommand):


# Path: docs/conf.py
import os
import re
import sys
    import sphinx_rtd_theme
from setup import project as meta

#default_role = None

# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True

# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
#add_module_names = True

# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
#show_authors = False

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []

# Napoleon settings
napoleon_numpy_docstring = False


# -- Options for HTML output ---------------------------------------------------
if not on_rtd:
    # 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 themes here, relative to this directory.

    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]