Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
sys.path.insert(0, os.path.abspath('..'))
# -- Project information -----------------------------------------------------
project = 'OAuthenticator'
copyright = 'Jupyter Contributors'
author = 'Jupyter Contributors'
master_doc = 'index'
import oauthenticator
# The short X.Y version.
version = '%i.%i' % oauthenticator.version_info[:2]
# The full version, including alpha/beta/rc tags.
release = oauthenticator.__version__
# -- generate autodoc classes from entrypoints
from collections import defaultdict
import entrypoints
import jinja2
def render_autodoc_modules():
authenticator_entrypoints = entrypoints.get_group_named(
"jupyterhub.authenticators"
).values()
api = os.path.join(source, "api")