From 497e3c74f70bf38f3c5fc31e3a6b5b08ef8e7517 Mon Sep 17 00:00:00 2001 From: IgnisDa Date: Thu, 28 Jan 2021 09:09:00 +0530 Subject: [PATCH] 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. --- docs/conf.py | 3 ++- docs/images/zulip-logo.svg | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 docs/images/zulip-logo.svg diff --git a/docs/conf.py b/docs/conf.py index b37801fa74..693ff2716f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/docs/images/zulip-logo.svg b/docs/images/zulip-logo.svg new file mode 100644 index 0000000000..275ad84ce8 --- /dev/null +++ b/docs/images/zulip-logo.svg @@ -0,0 +1,3 @@ + + +