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

import sys
import os

# Import the chess module.
sys.path.insert(0, os.path.abspath('..'))
import chess

# Autodoc.
extensions = ["sphinx.ext.autodoc"]
autodoc_member_order = 'bysource'

# The suffix of source filenames.
source_suffix = ".rst"

# The master toctree document.
master_doc = "index"

# General information about the project.
project = "python-chess"
copyright = "2014-2017, Niklas Fiekas"

# The version.
version = chess.__version__
release = chess.__version__

# 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 = "default"
