# Path: util/parse.py
# def package_version(path: Union[str, Path]) -> str:


import datetime
import os
import sys
from util import parse
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config

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

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


sys.path.insert(0, os.path.abspath('../'))



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

_year = datetime.datetime.now().year

project = 'pyconll'
author = 'Matias Grioni'
copyright = '{}, {}'.format(_year, author)

# The short X.Y version

# Path: util/parse.py
# def package_version(path: Union[str, Path]) -> str:


# Path: docs/conf.py
import datetime
import os
import sys
from util import parse

# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config

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

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


sys.path.insert(0, os.path.abspath('../'))



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

_year = datetime.datetime.now().year

project = 'pyconll'
author = 'Matias Grioni'
copyright = '{}, {}'.format(_year, author)

# The short X.Y version

_v = parse.package_version('../pyconll/_version.py').strip()