From 064feaa430f4273d9d56b626ce3a93d31573cbc3 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 4 May 2018 14:52:18 -0700 Subject: [PATCH] Add logo to docs Change-Id: Id99b12f30c39eeaabf4696555c92ee4fae3a2f82 --- doc/source/_static/custom.css | 6 ++++++ doc/source/_static/logo.svg | 22 ++++++++++++++++++++++ doc/source/conf.py | 14 ++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 doc/source/_static/custom.css create mode 100644 doc/source/_static/logo.svg diff --git a/doc/source/_static/custom.css b/doc/source/_static/custom.css new file mode 100644 index 0000000..b49c2c0 --- /dev/null +++ b/doc/source/_static/custom.css @@ -0,0 +1,6 @@ +.logo img { + width: 75%; +} +div.sphinxsidebarwrapper p.logo { + text-align: left; +} diff --git a/doc/source/_static/logo.svg b/doc/source/_static/logo.svg new file mode 100644 index 0000000..ded6d34 --- /dev/null +++ b/doc/source/_static/logo.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + diff --git a/doc/source/conf.py b/doc/source/conf.py index 9eeca78..6aeb61a 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -75,3 +75,17 @@ latex_documents = [ # Example configuration for intersphinx: refer to the Python standard library. #intersphinx_mapping = {'http://docs.python.org/': None} + +# The name of an image file (relative to this directory) to place at the top +# of the sidebar. +html_logo = '_static/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 +# pixels large. +#html_favicon = None + +# 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, +# so a file named "default.css" will overwrite the builtin "default.css". +html_static_path = ['_static']