From de1fe2abe13c3297801a531a42124498b937012b Mon Sep 17 00:00:00 2001 From: Chris Holdgraf Date: Fri, 26 Apr 2019 10:55:42 -0700 Subject: [PATCH] adding sidebar links --- docs/_static/custom.css | 4 ++-- docs/conf.py | 4 ++++ docs/index.rst | 8 ++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 72c470f..a873ff6 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -1,3 +1,3 @@ -div.sphinxsidebarwrapper h1.logo { - font-size: 2.3rem; +div.toctree-wrapper p.caption { + display: none; } diff --git a/docs/conf.py b/docs/conf.py index 4a2ab51..5836ae6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -56,6 +56,7 @@ if os.path.exists(os.path.join(here, '_static')): html_sidebars = { '**': [ 'about.html', + 'globaltoc.html', 'relations.html', 'searchbox.html', 'donate.html', @@ -74,3 +75,6 @@ html_theme_options = { 'github_banner': False, 'github_type': 'star', } + +def setup(app): + app.add_stylesheet('custom.css') \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst index 0dd4fdc..a4cd719 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -28,6 +28,7 @@ We have a bunch of tutorials to get you started. .. toctree:: :titlesonly: + :caption: Installation install/digitalocean install/jetstream @@ -48,6 +49,7 @@ Content and Data .. toctree:: :titlesonly: + :caption: Content and data howto/content/nbgitpuller howto/content/add-data @@ -58,6 +60,7 @@ The user environment .. toctree:: :titlesonly: + :caption: The user environment howto/env/user-environment howto/env/notebook-interfaces @@ -72,6 +75,7 @@ with your JupyterHub. For more information on Authentication, see .. toctree:: :titlesonly: + :caption: Authentication howto/auth/dummy howto/auth/github @@ -83,6 +87,7 @@ Administration and security .. toctree:: :titlesonly: + :caption: Administration and security howto/admin/admin-users howto/admin/resource-estimation @@ -99,6 +104,7 @@ Topic guides provide in-depth explanations of specific topics. .. toctree:: :titlesonly: + :caption: Topic guides topic/whentouse topic/requirements @@ -118,6 +124,7 @@ guides help you find what is broken & hopefully fix it. .. toctree:: :titlesonly: + :caption: Troubleshooting troubleshooting/logs @@ -142,6 +149,7 @@ to people contributing in various ways. .. toctree:: :titlesonly: + :caption: Contributing contributing/docs contributing/code-review