# Path: tupa/__version__.py
# VERSION = "1.4.2"


import sys
import os
from recommonmark.parser import CommonMarkParser
from unittest.mock import MagicMock
from tupa.__version__ import VERSION as release
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

source_parsers = {
    '.md': CommonMarkParser,
}

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
source_suffix = ['.rst', '.md']

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

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'TUPA'
copyright = u'2018, Daniel Hershcovich'
author = u'Daniel Hershcovich'

# 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 full version, including alpha/beta/rc tags.
# The short X.Y version.

# Path: tupa/__version__.py
# VERSION = "1.4.2"


# Path: docs/conf.py
import sys
import os
from recommonmark.parser import CommonMarkParser
from unittest.mock import MagicMock
from tupa.__version__ import VERSION as release

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

source_parsers = {
    '.md': CommonMarkParser,
}

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
source_suffix = ['.rst', '.md']

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

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'TUPA'
copyright = u'2018, Daniel Hershcovich'
author = u'Daniel Hershcovich'

# 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 full version, including alpha/beta/rc tags.
# The short X.Y version.

version = release.rpartition(".")[0]