# Path: gw2copilot/version.py
# VERSION = '0.1.0'


import sys
import os
import re
import sphinx.environment
    import sphinx_rtd_theme
from gw2copilot.version import VERSION
from docutils.utils import get_source_line
from autoklein import setup as autoklein_setup
#
# gw2copilot documentation build configuration file, created by
# sphinx-quickstart on Sat Jun  6 16:12:56 2015.
#
# 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.

# to let sphinx find the actual source...
sys.path.insert(0, os.path.abspath("../.."))
sys.path.append(os.path.dirname(__file__))

# 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.
#sys.path.insert(0, os.path.abspath('.'))

is_rtd = os.environ.get('READTHEDOCS', None) != 'True'
readthedocs_version = os.environ.get('READTHEDOCS_VERSION', '')

rtd_version = VERSION

if (readthedocs_version in ['stable', 'latest', 'master'] or
    re.match(r'^\d+\.\d+\.\d+', readthedocs_version)):
    # this is a tag or stable/latest/master; show the actual version

# Path: gw2copilot/version.py
# VERSION = '0.1.0'


# Path: docs/source/conf.py
import sys
import os
import re
import sphinx.environment
    import sphinx_rtd_theme
from gw2copilot.version import VERSION
from docutils.utils import get_source_line
from autoklein import setup as autoklein_setup

#
# gw2copilot documentation build configuration file, created by
# sphinx-quickstart on Sat Jun  6 16:12:56 2015.
#
# 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.

# to let sphinx find the actual source...
sys.path.insert(0, os.path.abspath("../.."))
sys.path.append(os.path.dirname(__file__))

# 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.
#sys.path.insert(0, os.path.abspath('.'))

is_rtd = os.environ.get('READTHEDOCS', None) != 'True'
readthedocs_version = os.environ.get('READTHEDOCS_VERSION', '')

rtd_version = VERSION

if (readthedocs_version in ['stable', 'latest', 'master'] or
    re.match(r'^\d+\.\d+\.\d+', readthedocs_version)):
    # this is a tag or stable/latest/master; show the actual version

    rtd_version = VERSION