<commit_before># -*- coding: utf-8 -*-
#
# BridgeDB documentation build configuration file, created by
# sphinx-quickstart on Sat Nov 23 02:37:56 2013.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys, os

# 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.
sys.path.insert(0, os.path.abspath(os.path.join(
    '..', '..', '..', 'lib')))
sys.path.insert(0, os.path.abspath(os.path.join(
    '..', '..', '..', 'lib', 'bridgedb')))
sys.path.insert(0, os.path.abspath(os.path.join(
    '..', '..', '..', 'scripts')))
sys.path.insert(0, os.path.abspath(os.path.join(
    '..', 'ext')))


import bridgedb
import bridgedb.captcha
import bridgedb.Bridges
import bridgedb.Bucket
import bridgedb.crypto
import bridgedb.Dist
import bridgedb.EmailServer
import bridgedb.Filters
import bridgedb.HTTPServer
import bridgedb.I18n
import bridgedb.Main
import bridgedb.persistent
import bridgedb.runner
import bridgedb.safelog
import bridgedb.Stability
import bridgedb.Storage
import bridgedb.test
import bridgedb.Tests
import bridgedb.txrecaptcha
import bridgedb.util


class Mock(object):
    """Used to fake the presence of Python C-extensions for documentation
    building. See
    http://docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules
    """
    def __init__(self, *args, **kwargs):
        pass

    def __call__(self, *args, **kwargs):
        return Mock()

    @classmethod
    def __getattr__(cls, name):
        if name in ('__file__', '__path__'):
            return '/dev/null'
        elif name[0] == name[0].upper():
            mockType = type(name, (), {})
            mockType.__module__ = __name__
            return mockType
        else:
            return Mock()

MOCK_MODULES = ['pygpgme', 'ipaddr']
for mod_name in MOCK_MODULES:
    sys.modules[mod_name] = Mock()

# -- Autodoc settings ----------------------------------------------------------
autodoc_member_order = 'bysource'
autodoc_default_flags = ['members',
                         'show-inheritance',
                         'undoc-members',
                         'show-hidden']
autoclass_content = 'both'

# -- General configuration -----------------------------------------------------

needs_sphinx = '1.1'
extensions = ['sphinx.ext.autodoc',
              'sphinx.ext.autosummary',
              'sphinx.ext.doctest',
              'sphinx.ext.intersphinx',
              'sphinx.ext.todo',
              'sphinx.ext.coverage',
              'sphinx.ext.mathjax',
              'sphinx.ext.viewcode',
              'sphinxjp.themecore',
              'sphinxarg.ext',
              'sphinxcontrib.fulltoc',
              'sphinxcontrib.zopeext.autointerface',
              'apilinks_sphinxext']

todo_include_todos = True

# Add any paths that contain templates here, relative to this directory.
templates_path = ['source/.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'BridgeDB'
copyright = u'2014, The Tor Project, Inc'

# 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.

from bridgedb import __version__
version = __version__
release = __version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = ''

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
today_fmt = '%d %B %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = []

# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None

# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True

# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
add_module_names = True

# If true, sectionauthor and moduleauthor directives will be shown in the<commit_msg>Disable full module names for autogenerated Sphinx documentation.<commit_after># -*- coding: utf-8 -*-
#
# BridgeDB documentation build configuration file, created by
# sphinx-quickstart on Sat Nov 23 02:37:56 2013.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys, os

# 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.
sys.path.insert(0, os.path.abspath(os.path.join(
    '..', '..', '..', 'lib')))
sys.path.insert(0, os.path.abspath(os.path.join(
    '..', '..', '..', 'lib', 'bridgedb')))
sys.path.insert(0, os.path.abspath(os.path.join(
    '..', '..', '..', 'scripts')))
sys.path.insert(0, os.path.abspath(os.path.join(
    '..', 'ext')))


import bridgedb
import bridgedb.captcha
import bridgedb.Bridges
import bridgedb.Bucket
import bridgedb.crypto
import bridgedb.Dist
import bridgedb.EmailServer
import bridgedb.Filters
import bridgedb.HTTPServer
import bridgedb.I18n
import bridgedb.Main
import bridgedb.persistent
import bridgedb.runner
import bridgedb.safelog
import bridgedb.Stability
import bridgedb.Storage
import bridgedb.test
import bridgedb.Tests
import bridgedb.txrecaptcha
import bridgedb.util


class Mock(object):
    """Used to fake the presence of Python C-extensions for documentation
    building. See
    http://docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules
    """
    def __init__(self, *args, **kwargs):
        pass

    def __call__(self, *args, **kwargs):
        return Mock()

    @classmethod
    def __getattr__(cls, name):
        if name in ('__file__', '__path__'):
            return '/dev/null'
        elif name[0] == name[0].upper():
            mockType = type(name, (), {})
            mockType.__module__ = __name__
            return mockType
        else:
            return Mock()

MOCK_MODULES = ['pygpgme', 'ipaddr']
for mod_name in MOCK_MODULES:
    sys.modules[mod_name] = Mock()

# -- Autodoc settings ----------------------------------------------------------
autodoc_member_order = 'bysource'
autodoc_default_flags = ['members',
                         'show-inheritance',
                         'undoc-members',
                         'show-hidden']
autoclass_content = 'both'

# -- General configuration -----------------------------------------------------

needs_sphinx = '1.1'
extensions = ['sphinx.ext.autodoc',
              'sphinx.ext.autosummary',
              'sphinx.ext.doctest',
              'sphinx.ext.intersphinx',
              'sphinx.ext.todo',
              'sphinx.ext.coverage',
              'sphinx.ext.mathjax',
              'sphinx.ext.viewcode',
              'sphinxjp.themecore',
              'sphinxarg.ext',
              'sphinxcontrib.fulltoc',
              'sphinxcontrib.zopeext.autointerface',
              'apilinks_sphinxext']

todo_include_todos = True

# Add any paths that contain templates here, relative to this directory.
templates_path = ['source/.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'BridgeDB'
copyright = u'2014, The Tor Project, Inc'

# 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.

from bridgedb import __version__
version = __version__
release = __version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = ''

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
today_fmt = '%d %B %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = []

# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None

# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True

# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
add_module_names = False

# If true, sectionauthor and moduleauthor directives will be shown in the
{'fraction_non_alphanumeric': 0.1290762294222502, 'fraction_numerical': 0.005871867463562965, 'mean_word_length': 2.8883000407664086, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1519672', 'n_tokens_mistral': 2979, 'n_tokens_neox': 2823, 'n_words': 904}