From e79613fa30eb72ee560d01330e820f5d8ca19dc9 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 4 May 2018 14:51:21 -0700 Subject: [PATCH] Add logo to docs Change-Id: I9efd4e8b2de3f40becf545547a83860bdab39f80 --- 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 3188908..ad3a745 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -72,3 +72,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']