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:
YuviPanda
2019-11-21 12:50:53 -08:00
parent 3cea0cb323
commit 8d698e089f
3 changed files with 2 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
div.toctree-wrapper p.caption {
display: none;
}

View File

@@ -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')

View File

@@ -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