summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2018-05-04 14:52:18 -0700
committerJames E. Blair <jeblair@redhat.com>2018-05-04 14:52:18 -0700
commit064feaa430f4273d9d56b626ce3a93d31573cbc3 (patch)
treea615f1255a9859a169a4f96f48571266390732ef
parent2516aeff565513e5e45303e128aa13d0f267a7dc (diff)
Add logo to docs
Notes
Notes (review): Code-Review+2: Tobias Henkel <tobias.henkel@bmw.de> Code-Review+2: Joshua Hesketh <josh@nitrotech.org> Workflow+1: Tobias Henkel <tobias.henkel@bmw.de> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 15 May 2018 17:53:16 +0000 Reviewed-on: https://review.openstack.org/566413 Project: openstack-infra/zuul-sphinx Branch: refs/heads/master
-rw-r--r--doc/source/_static/custom.css6
-rw-r--r--doc/source/_static/logo.svg22
-rwxr-xr-xdoc/source/conf.py14
3 files changed, 42 insertions, 0 deletions
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 @@
1.logo img {
2 width: 75%;
3}
4div.sphinxsidebarwrapper p.logo {
5 text-align: left;
6}
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 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4 viewBox="0 0 144 144" style="enable-background:new 0 0 144 144;" xml:space="preserve">
5<style type="text/css">
6 .st0{fill:#071D49;}
7</style>
8<g>
9 <path class="st0" d="M12.8,102.6h118.5L106,58.8v-15l7-9.2H92L72,0L52,34.7H31.1l7,9.2v15L12.8,102.6z M38,96.6H23.1L38,70.8V96.6z
10 M48.4,96.6H44V61.3h4.3V96.6z M48.4,55.3H44V51h4.3V55.3z M69,96.6H54.3V61.3H69V96.6z M89.7,96.6H75V61.3h14.7V96.6z M89.7,55.3
11 H54.3V51h35.3V55.3z M100,96.6h-4.3V61.3h4.3V96.6z M100,55.3h-4.3V51h4.3V55.3z M106,70.8l14.9,25.8H106V70.8z M72,12l13.1,22.7
12 H58.9L72,12z M100.9,40.7l-0.9,1.2V45H44v-3.2l-0.9-1.2H100.9z"/>
13 <polygon class="st0" points="138.2,137.3 125.1,137.3 125.1,114.6 119.1,118.1 119.1,137.3 119.1,139.6 119.1,143.3 141.6,143.3
14 "/>
15 <path class="st0" d="M99.1,131.5L99.1,131.5L99.1,131.5c0,3.6-2.9,6.5-6.5,6.5c-3.6,0-6.5-2.9-6.5-6.5v0h0v-16.9l-6,3.5v13.5v0
16 c0,6.9,5.6,12.5,12.5,12.5c6.9,0,12.5-5.6,12.5-12.5v0v-16.9l-6,3.5V131.5z"/>
17 <path class="st0" d="M60.2,131.5L60.2,131.5L60.2,131.5c0,3.6-2.9,6.5-6.5,6.5c-3.6,0-6.5-2.9-6.5-6.5v0h0v-16.9l-6,3.5v13.5v0
18 c0,6.9,5.6,12.5,12.5,12.5c6.9,0,12.5-5.6,12.5-12.5v0v-16.9l-6,3.5V131.5z"/>
19 <polygon class="st0" points="25.8,114.6 25.4,114.6 18.9,114.6 5.8,114.6 2.4,120.6 15.5,120.6 2.4,143.3 23.8,143.3 27.3,137.3
20 12.7,137.3 "/>
21</g>
22</svg>
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 = [
75 75
76# Example configuration for intersphinx: refer to the Python standard library. 76# Example configuration for intersphinx: refer to the Python standard library.
77#intersphinx_mapping = {'http://docs.python.org/': None} 77#intersphinx_mapping = {'http://docs.python.org/': None}
78
79# The name of an image file (relative to this directory) to place at the top
80# of the sidebar.
81html_logo = '_static/logo.svg'
82
83# The name of an image file (within the static path) to use as favicon of the
84# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
85# pixels large.
86#html_favicon = None
87
88# Add any paths that contain custom static files (such as style sheets) here,
89# relative to this directory. They are copied after the builtin static files,
90# so a file named "default.css" will overwrite the builtin "default.css".
91html_static_path = ['_static']