Add the JAX logo to sphinx docs

This commit is contained in:
Stephan Hoyer 2019-08-05 12:34:29 -07:00
parent a26963fe87
commit 8c8222a319
4 changed files with 14 additions and 2 deletions

BIN
docs/_static/jax_logo_250px.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

5
docs/_static/style.css vendored Normal file
View File

@ -0,0 +1,5 @@
@import url("theme.css");
.wy-side-nav-search {
background-color: #fcf;
}

2
docs/_templates/layout.html vendored Normal file
View File

@ -0,0 +1,2 @@
{% extends "!layout.html" %}
{% set css_files = css_files + ["_static/style.css"] %}

View File

@ -108,8 +108,13 @@ html_theme = 'sphinx_rtd_theme'
# 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 = {
'logo_only': True,
}
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
html_logo = '_static/jax_logo_250px.png'
# 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,