Files
the-littlest-jupyterhub/docs/conf.py
2018-07-28 13:45:06 -07:00

50 lines
1.5 KiB
Python

# Support markdown too
source_suffix = ['.rst']
project = 'The Littlest JupyterHub'
copyright = '2018, JupyterHub Team'
author = 'JupyterHub Team'
# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags
release = 'v0.1'
# Add custom CSS/Javascript
def setup(app):
app.add_javascript("custom.js")
app.add_stylesheet("custom.css")
app.add_javascript("https://cdn.jsdelivr.net/npm/clipboard@1/dist/clipboard.min.js")
# Enable MathJax for Math
extensions = ['sphinx.ext.mathjax']
# The master toctree document.
master_doc = 'index'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path .
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
html_theme = 'alabaster'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# Custom Alabaster theme options
html_theme_options = {
'description': 'A simple JupyterHub distribution for 1-100 users',
'github_user': 'jupyterhub',
'github_repo': 'the-littlest-jupyterhub',
'github_button': 'true',
'extra_nav_links': {
'Documentation confusing? File an issue!': 'https://github.com/jupyterhub/the-littlest-jupyterhub/issues'
}
}