mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Merge pull request #79 from jupyterhub/github-links
Customize theme to have better links in sidebar
This commit is contained in:
24
docs/conf.py
24
docs/conf.py
@@ -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,
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user