diff --git a/docs/_static/custom.css b/docs/_static/custom.css new file mode 100644 index 00000000..7bfd6560 --- /dev/null +++ b/docs/_static/custom.css @@ -0,0 +1,3 @@ +body div.sphinxsidebarwrapper p.logo { + text-align: left; +} \ No newline at end of file diff --git a/docs/_static/jupyter-logo.png b/docs/_static/jupyter-logo.png new file mode 100644 index 00000000..c86b09a4 Binary files /dev/null and b/docs/_static/jupyter-logo.png differ diff --git a/docs/conf.py b/docs/conf.py index 3e9d8009..3d528a0d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -96,19 +96,44 @@ source_suffix = ['.rst', '.md'] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'sphinx_rtd_theme' +html_theme = 'alabaster' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. # -# html_theme_options = {} +html_theme_options = { + 'description': "Jupyter Docker Stacks", + 'fixed_sidebar': False, + 'show_relbars': True, + 'github_user': 'jupyter', + 'github_repo': 'docker-stacks', + 'github_type': 'star', + 'logo': 'jupyter-logo.png', + 'logo_text_align': 'left' +} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] +# Custom sidebar templates, must be a dictionary that maps document names +# to template names. +# +# The default sidebars (for documents that don't match any pattern) are +# defined by theme itself. Builtin themes are using these templates by +# default: ``['localtoc.html', 'relations.html', 'sourcelink.html', +# 'searchbox.html']``. +# +html_sidebars = { + '**': [ + 'about.html', + 'navigation.html', + 'relations.html', + 'searchbox.html', + ] +} # -- Options for HTMLHelp output ------------------------------------------