From 2f75261567375a6ec12f1d65efec0f895055b4e0 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Tue, 16 Oct 2018 10:23:32 +0100 Subject: [PATCH] doc: Add WA icon to documentation --- doc/source/WA-logo-white.svg | 78 ++++++++++++++++++++++++++++++++++++ doc/source/conf.py | 6 ++- 2 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 doc/source/WA-logo-white.svg diff --git a/doc/source/WA-logo-white.svg b/doc/source/WA-logo-white.svg new file mode 100644 index 00000000..c3d5841e --- /dev/null +++ b/doc/source/WA-logo-white.svg @@ -0,0 +1,78 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/doc/source/conf.py b/doc/source/conf.py index 803f3a1d..a9304b57 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -135,7 +135,9 @@ 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 +} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] @@ -149,7 +151,7 @@ html_theme = 'sphinx_rtd_theme' # The name of an image file (relative to this directory) to place at the top # of the sidebar. -#html_logo = None +html_logo = 'WA-logo-white.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