# -*- coding: utf-8 -*-

# -- Path setup --------------------------------------------------------------

import os
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent.parent))

# Disable cloud services
os.environ['PGB_OFFLINE'] = 'True'

# -- Project information -----------------------------------------------------

project = 'Pitt Broker'
copyright = '2019'
author = 'The Pitt-Google Broker Team'

# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags
import broker
release = broker.__version__

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

# Sphinx extension module names here
extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.coverage',
    'sphinx.ext.mathjax',
    'sphinx.ext.viewcode',
    'sphinx.ext.autosummary',
    'sphinx.ext.napoleon',
    'sphinx_copybutton'
]

# Add any paths that contain templates here, relative to this directory.
# templates_path = ['_templates']

# The suffix(es) of source filenames.
source_suffix = ['.rst', ]

# The master toctree document.
master_doc = 'index'

# The language for content autogenerated by Sphinx.
language = 'en'

# 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 = []

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

# The theme to use for HTML and HTML Help pages.
html_theme = 'sphinx_rtd_theme'
