Merge pull request #79 from jupyterhub/github-links

Customize theme to have better links in sidebar
This commit is contained in:
Yuvi Panda
2018-07-30 10:54:15 -07:00
committed by GitHub

View File

@@ -36,3 +36,27 @@ html_theme = 'alabaster'
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static'] html_static_path = ['_static']
# Configure the sidebar to be how we want it to be
# We don't have 'navigation' here, since it is very cluttered
# and seems to be hard to control.
html_sidebars = {
'**': [
'about.html',
'relations.html',
'searchbox.html',
'donate.html',
]
}
# Custom Alabaster theme options
html_theme_options = {
'description': """
A simple JupyterHub distribution for 1-100 users
<br /> <br />
<strong>Documentation confusing?</strong> <a href="https://github.com/jupyterhub/the-littlest-jupyterhub/issues">File an issue!</a>
""",
'github_user': 'jupyterhub',
'github_repo': 'the-littlest-jupyterhub',
'github_button': True,
'github_banner': True,
}