<commit_before>#!/usr/bin/env python2

import sys
import os

from mock import MagicMock

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


class Mock(MagicMock):
    @classmethod
    def __getattr__(cls, name):
            return Mock()

MOCK_MODULES = ['argparse', 'numpy', 'pandas', 'cv2']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.coverage',
    'sphinx.ext.mathjax',
    'sphinx.ext.viewcode',
]

templates_path = ['_templates']

source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'

project = 'OpenFace API Docs'
copyright = '2015, Carnegie Mellon University'
author = 'Carnegie Mellon University'

version = '0.1.1'
release = '0.1.1'

language = None

exclude_patterns = ['_build']

pygments_style = 'sphinx'

todo_include_todos = True


# html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
htmlhelp_basename = 'OpenFacedoc'

latex_elements = {
    'papersize': 'letterpaper',
    'pointsize': '12pt',
}

latex_documents = [
    (master_doc, 'OpenFace.tex', 'OpenFace Documentation',
     'Carnegie Mellon University', 'manual'),
]

man_pages = [
    (master_doc, 'openface', 'OpenFace Documentation',
     [author], 1)
]

texinfo_documents = [
    (master_doc, 'OpenFace', 'OpenFace Documentation',
     author, 'OpenFace', 'One line description of project.',
     'Miscellaneous'),
]
<commit_msg>api-docs: Add mock dlib module.<commit_after>#!/usr/bin/env python2

import sys
import os

from mock import MagicMock

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


class Mock(MagicMock):
    @classmethod
    def __getattr__(cls, name):
            return Mock()

MOCK_MODULES = ['argparse', 'cv2', 'dlib', 'numpy', 'pandas']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.coverage',
    'sphinx.ext.mathjax',
    'sphinx.ext.viewcode',
]

templates_path = ['_templates']

source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'

project = 'OpenFace API Docs'
copyright = '2015, Carnegie Mellon University'
author = 'Carnegie Mellon University'

version = '0.1.1'
release = '0.1.1'

language = None

exclude_patterns = ['_build']

pygments_style = 'sphinx'

todo_include_todos = True


# html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
htmlhelp_basename = 'OpenFacedoc'

latex_elements = {
    'papersize': 'letterpaper',
    'pointsize': '12pt',
}

latex_documents = [
    (master_doc, 'OpenFace.tex', 'OpenFace Documentation',
     'Carnegie Mellon University', 'manual'),
]

man_pages = [
    (master_doc, 'openface', 'OpenFace Documentation',
     [author], 1)
]

texinfo_documents = [
    (master_doc, 'OpenFace', 'OpenFace Documentation',
     author, 'OpenFace', 'One line description of project.',
     'Miscellaneous'),
]

{'fraction_non_alphanumeric': 0.1450171821305842, 'fraction_numerical': 0.010996563573883162, 'mean_word_length': 4.273550724637682, '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': '1598112', 'n_tokens_mistral': 1103, 'n_tokens_neox': 1048, 'n_words': 231}