mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Switch to pandas theme
Ref https://github.com/jupyterhub/team-compass/issues/225. I like the new theme as well. The top level headers still need to be sorted out.
This commit is contained in:
3
docs/_static/custom.css
vendored
3
docs/_static/custom.css
vendored
@@ -1,3 +0,0 @@
|
||||
div.toctree-wrapper p.caption {
|
||||
display: none;
|
||||
}
|
||||
19
docs/conf.py
19
docs/conf.py
@@ -36,8 +36,7 @@ pygments_style = 'sphinx'
|
||||
|
||||
import alabaster_jupyterhub
|
||||
|
||||
html_theme = 'alabaster_jupyterhub'
|
||||
html_theme_path = [alabaster_jupyterhub.get_html_theme_path()]
|
||||
html_theme = 'pandas_sphinx_theme'
|
||||
|
||||
html_logo = 'images/logo/logo.png'
|
||||
html_favicon = 'images/logo/favicon.ico'
|
||||
@@ -62,19 +61,3 @@ html_sidebars = {
|
||||
'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': False,
|
||||
'github_type': 'star',
|
||||
}
|
||||
|
||||
def setup(app):
|
||||
app.add_stylesheet('custom.css')
|
||||
@@ -1,4 +1,3 @@
|
||||
sphinx>=1.4, !=1.5.4
|
||||
sphinx_copybutton
|
||||
alabaster
|
||||
alabaster_jupyterhub
|
||||
git+https://github.com/pandas-dev/pandas-sphinx-theme.git@master
|
||||
|
||||
Reference in New Issue
Block a user