summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-05-07 16:49:34 +0000
committerGerrit Code Review <review@openstack.org>2018-05-07 16:49:34 +0000
commit1e3e5d33fb140d5dc993eeed6f8b13248105647a (patch)
tree61e5d5f9071e0be04c2268f9214ac8f5184993fd
parent4b1d92d59bb0848e3aacc748147f46482ad36100 (diff)
parentf6cfa3720a0d6900cd6109829f19dae9e71e6ab3 (diff)
Merge "Add logo to docs"3.0.3
-rw-r--r--doc/source/_static/custom.css6
-rw-r--r--doc/source/_static/logo.svg22
-rw-r--r--doc/source/conf.py4
3 files changed, 30 insertions, 2 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 51bc821..c984f7f 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -117,7 +117,7 @@ html_theme_options = {
117 117
118# The name of an image file (relative to this directory) to place at the top 118# The name of an image file (relative to this directory) to place at the top
119# of the sidebar. 119# of the sidebar.
120#html_logo = None 120html_logo = '_static/logo.svg'
121 121
122# The name of an image file (within the static path) to use as favicon of the 122# The name of an image file (within the static path) to use as favicon of the
123# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 123# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
@@ -127,7 +127,7 @@ html_theme_options = {
127# Add any paths that contain custom static files (such as style sheets) here, 127# Add any paths that contain custom static files (such as style sheets) here,
128# relative to this directory. They are copied after the builtin static files, 128# relative to this directory. They are copied after the builtin static files,
129# so a file named "default.css" will overwrite the builtin "default.css". 129# so a file named "default.css" will overwrite the builtin "default.css".
130#html_static_path = ['_static'] 130html_static_path = ['_static']
131 131
132# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, 132# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
133# using the given strftime format. 133# using the given strftime format.