# Path: ronin/version.py
# VERSION = '1.1.2'


import os, sys
from ronin.version import VERSION
from sphinx.domains.python import PythonDomain
# texinfo_domain_indices = True

# How to display URL addresses: 'footnote', 'no', or 'inline'.
#
# texinfo_show_urls = 'footnote'

# If true, do not generate a @detailmenu in the "Top" node's menu.
#
# texinfo_no_detailmenu = False

# -- Options for InterSphinx

intersphinx_mapping = {
    'python': ('https://docs.python.org/2.7', None)
}

# -- Options for Python domain

# Include __init__ docstring into class docstring
autoclass_content = 'both'

# Default to everything important
autodoc_default_flags = [
    'members',
    'undoc-members',
    'show-inheritance']


class PatchedPythonDomain(PythonDomain):
    # See: https://github.com/sphinx-doc/sphinx/issues/3866

# Path: ronin/version.py
# VERSION = '1.1.2'


# Path: docs/conf.py
import os, sys
from ronin.version import VERSION
from sphinx.domains.python import PythonDomain

# texinfo_domain_indices = True

# How to display URL addresses: 'footnote', 'no', or 'inline'.
#
# texinfo_show_urls = 'footnote'

# If true, do not generate a @detailmenu in the "Top" node's menu.
#
# texinfo_no_detailmenu = False

# -- Options for InterSphinx

intersphinx_mapping = {
    'python': ('https://docs.python.org/2.7', None)
}

# -- Options for Python domain

# Include __init__ docstring into class docstring
autoclass_content = 'both'

# Default to everything important
autodoc_default_flags = [
    'members',
    'undoc-members',
    'show-inheritance']


class PatchedPythonDomain(PythonDomain):
    # See: https://github.com/sphinx-doc/sphinx/issues/3866

    def resolve_xref(self, env, fromdocname, builder, typ, target, node, contnode):