# Path: sider/version.py
# VERSION = '{0}.{1}.{2}'.format(*VERSION_INFO)


import sys, os, os.path, glob, datetime
from siderdocs import lower_sprintf_str
from sider.version import VERSION
# -- Options for manual page output --------------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
    ('index', 'sider', u'Sider Documentation', [u'Hong Minhee'], 1)
]


if readthedocs:
    intersphinx_mapping = {
        'python': ('http://python.readthedocs.org/en/v2.7.2/', None),
        'greenlet': ('http://greenlet.readthedocs.org/en/latest/', None),
        'eventlet': ('http://eventlet.net/doc/', None),
        'gevent': ('http://gevent.org/', None),
        'werkzeug': ('http://werkzeug.readthedocs.org/en/latest/', None),
        'jinja2': ('http://jinja2.readthedocs.org/en/latest/', None)
    }
else:
    intersphinx_mapping = {
        'python': ('http://docs.python.org/', None),
        'greenlet': ('http://greenlet.readthedocs.org/en/latest/', None),
        'eventlet': ('http://eventlet.net/doc/', None),
        'gevent': ('http://gevent.org/', None),
        'werkzeug': ('http://werkzeug.pocoo.org/docs/', None),
        'jinja2': ('http://jinja.pocoo.org/docs/', None)
    }


extlinks = {

# Path: sider/version.py
# VERSION = '{0}.{1}.{2}'.format(*VERSION_INFO)


# Path: docs/conf.py
import sys, os, os.path, glob, datetime
from siderdocs import lower_sprintf_str
from sider.version import VERSION

# -- Options for manual page output --------------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
    ('index', 'sider', u'Sider Documentation', [u'Hong Minhee'], 1)
]


if readthedocs:
    intersphinx_mapping = {
        'python': ('http://python.readthedocs.org/en/v2.7.2/', None),
        'greenlet': ('http://greenlet.readthedocs.org/en/latest/', None),
        'eventlet': ('http://eventlet.net/doc/', None),
        'gevent': ('http://gevent.org/', None),
        'werkzeug': ('http://werkzeug.readthedocs.org/en/latest/', None),
        'jinja2': ('http://jinja2.readthedocs.org/en/latest/', None)
    }
else:
    intersphinx_mapping = {
        'python': ('http://docs.python.org/', None),
        'greenlet': ('http://greenlet.readthedocs.org/en/latest/', None),
        'eventlet': ('http://eventlet.net/doc/', None),
        'gevent': ('http://gevent.org/', None),
        'werkzeug': ('http://werkzeug.pocoo.org/docs/', None),
        'jinja2': ('http://jinja.pocoo.org/docs/', None)
    }


extlinks = {

    'redis': (lower_sprintf_str('http://redis.io/commands/%s'), ''),