Add logo and favicon to sphinx documentation

- The white logo variant shows up on the top of the sidebar.
- The favicon shows up when the page is loaded.
This commit is contained in:
Benjamin Woodruff 2019-08-07 12:06:56 -07:00 committed by Benjamin Woodruff
parent 1424cfb2e1
commit da7b9435ee
3 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

View file

@ -91,7 +91,7 @@ html_theme = 'sphinx_rtd_theme'
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
html_theme_options = {"logo_only": True}
# 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,
@ -108,6 +108,8 @@ html_static_path = ['_static']
#
# html_sidebars = {}
html_logo = "_static/logo/horizontal_white_sidebar.png"
html_favicon = "_static/logo/favicon.ico"
# -- Options for HTMLHelp output ---------------------------------------------