from matplotlib import use use('agg') from sphinx.util import logging import sphinx_bootstrap_theme from sphinx.util import logger import gwpy from gwpy import _version as gwpy_version from gwpy.plotter import (GWPY_PLOT_PARAMS) from gwpy.utils.sphinx import zenodo GWPY_VERSION = gwpy_version.get_versions() SPHINX_DIR = os.path.abspath(os.path.dirname(__file__)) # -- General configuration ------------------------------------------------ #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. # local extensions from gwpy.utils.sphinx import numpydoc # extension modules
# serve to show the default. import sys import inspect import os.path from matplotlib import use use('agg') import sphinx_bootstrap_theme import gwpy from gwpy import _version as gwpy_version from gwpy.plotter import (GWPY_PLOT_PARAMS) GWPY_VERSION = gwpy_version.get_versions() # 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 = [