docs: conf.py: Add zulip logo to the sidebar.

This commit adds the Zulip logo to the readthedocs
documentation by adding an .svg file (taken from
zulip.com) to the `docs/images` directory.
Morever, it removes the name `Zulip` which was
written at the top of the sidebar because the
logo already has that.
This commit is contained in:
IgnisDa 2021-01-28 09:09:00 +05:30 committed by Tim Abbott
parent 7eeca9da46
commit 497e3c74f7
2 changed files with 2 additions and 1 deletions

View File

@ -124,6 +124,7 @@ else:
# documentation.
html_theme_options = {
'collapse_navigation': False,
'logo_only': True
}
# Add any paths that contain custom themes here, relative to this directory.
@ -138,7 +139,7 @@ html_theme_options = {
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
html_logo = 'images/zulip-logo.svg'
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32

BIN
docs/images/zulip-logo.svg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB