Exemplo n.º 1
0
#
# All configuration values have a default; values that are commented out
# serve to show the default.

import os
import sys

import sphinx_rtd_theme

sys.path.append(".")
sys.path.append("..")

import rtd_gen_docs  # noqa
from pyimzml import __version__  # noqa

rtd_gen_docs.main()

# 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(".."))

# -- 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 = [
Exemplo n.º 2
0
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.

import os
import sys

import sphinx_rtd_theme
from recommonmark.parser import CommonMarkParser

sys.path.append('.')

import rtd_gen_docs

rtd_gen_docs.main()

# see http://www.sphinx-doc.org/en/stable/ext/autodoc.html#confval-autodoc_mock_imports
autodoc_mock_imports = ['fabfile',
                        'isatools.io.isatab_parser',
                        'mpl_toolkits.axes_grid1',
                        'networkx',
                        'pandas',
                        'png',
                        'psycopg2',
                        'psycopg2.extensions',
                        'psycopg2.extras',
                        'pyspark',
                        'requests',
                        'scipy',
                        'scipy.optimize',