Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# prefer local rdtools folder to one installed in a venv or site-packages:
import os
import sys
sys.path.insert(0, os.path.abspath('../../..'))
# -- Project information -----------------------------------------------------
project = 'RdTools'
copyright = '2016–2019 kwhanalytics, Alliance for Sustainable Energy, LLC, and SunPower'
author = 'kwhanalytics, Alliance for Sustainable Energy, LLC, and SunPower'
# The full version, including alpha/beta/rc tags
import rdtools
release = version = rdtools.__version__
# -- General configuration ---------------------------------------------------
# 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.napoleon',
'sphinx_rtd_theme',
'sphinx.ext.autosummary',
'm2r',
'nbsphinx',
'nbsphinx_link',
]