# Path: doctor/_version.py

# 
# Path: docs/flask_harness.py
# class CustomFlaskHarness(AutoFlaskHarness):
# 
#     def setup_app(self, sphinx_app):
#         super(CustomFlaskHarness, self).setup_app(sphinx_app)
#         self.headers = {'Authorization': 'testtoken'}
#         self.header_definitions = {
#             'Authorization': 'The auth token for the authenticated user.',
#             'X-GeoIp-Country': 'An ISO 3166-1 alpha-2 country code.'
#         }
#         self.define_header_values('GET', '/note/', {'X-GeoIp-Country': 'US'},
#                                   update=True)


import sys
import os
import sphinx_rtd_theme
from doctor import __version__
from docs.flask_harness import CustomFlaskHarness
    'sphinx.ext.autodoc',
    'sphinx.ext.coverage',
    'sphinx.ext.viewcode',
    'sphinx_autodoc_typehints',
    'doctor.docs.flask',
]

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

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

# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'Upsight Doctor'
copyright = u'2017, Upsight'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = __version__
# The full version, including alpha/beta/rc tags.

# Path: doctor/_version.py

# 
# Path: docs/flask_harness.py
# class CustomFlaskHarness(AutoFlaskHarness):
# 
#     def setup_app(self, sphinx_app):
#         super(CustomFlaskHarness, self).setup_app(sphinx_app)
#         self.headers = {'Authorization': 'testtoken'}
#         self.header_definitions = {
#             'Authorization': 'The auth token for the authenticated user.',
#             'X-GeoIp-Country': 'An ISO 3166-1 alpha-2 country code.'
#         }
#         self.define_header_values('GET', '/note/', {'X-GeoIp-Country': 'US'},
#                                   update=True)


# Path: docs/conf.py
import sys
import os
import sphinx_rtd_theme
from doctor import __version__
from docs.flask_harness import CustomFlaskHarness

    'sphinx.ext.autodoc',
    'sphinx.ext.coverage',
    'sphinx.ext.viewcode',
    'sphinx_autodoc_typehints',
    'doctor.docs.flask',
]

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

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

# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'Upsight Doctor'
copyright = u'2017, Upsight'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = __version__
# The full version, including alpha/beta/rc tags.

release = __version__