From 8d698e089fa61117ca64db64b1a86671ff41097d Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Thu, 21 Nov 2019 12:50:53 -0800 Subject: [PATCH] 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. --- docs/_static/custom.css | 3 --- docs/conf.py | 19 +------------------ docs/requirements.txt | 3 +-- 3 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 docs/_static/custom.css diff --git a/docs/_static/custom.css b/docs/_static/custom.css deleted file mode 100644 index a873ff6..0000000 --- a/docs/_static/custom.css +++ /dev/null @@ -1,3 +0,0 @@ -div.toctree-wrapper p.caption { - display: none; -} diff --git a/docs/conf.py b/docs/conf.py index 5836ae6..5fbf08a 100644 --- a/docs/conf.py +++ b/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 -

- Documentation confusing? File an issue! - """, - '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') \ No newline at end of file diff --git a/docs/requirements.txt b/docs/requirements.txt index 0514bb4..aa47c41 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,3 @@ sphinx>=1.4, !=1.5.4 sphinx_copybutton -alabaster -alabaster_jupyterhub \ No newline at end of file +git+https://github.com/pandas-dev/pandas-sphinx-theme.git@master