summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2018-05-04 14:51:21 -0700
committerJames E. Blair <jeblair@redhat.com>2018-05-07 13:39:25 -0700
commite79613fa30eb72ee560d01330e820f5d8ca19dc9 (patch)
treef3d39305fc6aad0f7e1bfea84c578c6d764707c8
parent01dacf08ba61a239a9bfd6d2acab9eb55cb73d6e (diff)
Add logo to docs
Notes
Notes (review): Code-Review+2: Andreas Jaeger <jaegerandi@gmail.com> Code-Review+2: Ian Wienand <iwienand@redhat.com> Code-Review+2: Tobias Henkel <tobias.henkel@bmw.de> Workflow+1: Andreas Jaeger <jaegerandi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 08 May 2018 05:02:55 +0000 Reviewed-on: https://review.openstack.org/566412 Project: openstack-infra/zuul-base-jobs 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 3188908..ad3a745 100755
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -72,3 +72,17 @@ latex_documents = [
72 72
73# Example configuration for intersphinx: refer to the Python standard library. 73# Example configuration for intersphinx: refer to the Python standard library.
74#intersphinx_mapping = {'http://docs.python.org/': None} 74#intersphinx_mapping = {'http://docs.python.org/': None}
75
76# The name of an image file (relative to this directory) to place at the top
77# of the sidebar.
78html_logo = '_static/logo.svg'
79
80# The name of an image file (within the static path) to use as favicon of the
81# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
82# pixels large.
83#html_favicon = None
84
85# Add any paths that contain custom static files (such as style sheets) here,
86# relative to this directory. They are copied after the builtin static files,
87# so a file named "default.css" will overwrite the builtin "default.css".
88html_static_path = ['_static']