<commit_before># Copyright 2014, Sandia Corporation. Under the terms of Contract
# DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain
# rights in this software.

# -*- coding: utf-8 -*-
#
# toyplot documentation build configuration file, created by
# sphinx-quickstart on Fri Apr 18 18:22:53 2014.
#
# 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
import os

# Provide stubs for external dependencies, so we can generate our reference
# documentation without having to install them.
class module_proxy(object):
  __all__ = []

  def __init__(self, *args, **kwargs):
    pass

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

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

for module_name in ["numpy", "numpy.ma"]:
  sys.modules[module_name] = module_proxy()

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

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

# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.viewcode",
    "sphinx.ext.mathjax",
    "sphinxcontrib.napoleon",
]

napoleon_use_param = False

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix of source filenames.
source_suffix = '.rst'<commit_msg>Stub-out the cairo module proxy, so we can extract documentation on all our modules.<commit_after># Copyright 2014, Sandia Corporation. Under the terms of Contract
# DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain
# rights in this software.

# -*- coding: utf-8 -*-
#
# toyplot documentation build configuration file, created by
# sphinx-quickstart on Fri Apr 18 18:22:53 2014.
#
# 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
import os

# Provide stubs for external dependencies, so we can generate our reference
# documentation without having to install them.
class module_proxy(object):
  __all__ = []

  def __init__(self, *args, **kwargs):
    pass

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

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

for module_name in ["cairo", "numpy", "numpy.ma"]:
  sys.modules[module_name] = module_proxy()

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

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

# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.viewcode",
    "sphinx.ext.mathjax",
    "sphinxcontrib.napoleon",
]

napoleon_use_param = False

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# The suffix of source filenames.
source_suffix = '.rst'
{'fraction_non_alphanumeric': 0.12201476335214936, 'fraction_numerical': 0.013894919669995658, 'mean_word_length': 3.58407960199005, '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': '1141236', 'n_tokens_mistral': 1418, 'n_tokens_neox': 1358, 'n_words': 513}