Browse Source

Merge "Add logo to docs"

Zuul 11 months ago
parent
commit
1e3e5d33fb
3 changed files with 30 additions and 2 deletions
  1. 6
    0
      doc/source/_static/custom.css
  2. 22
    0
      doc/source/_static/logo.svg
  3. 2
    2
      doc/source/conf.py

+ 6
- 0
doc/source/_static/custom.css View File

@@ -0,0 +1,6 @@
1
+.logo img {
2
+    width: 75%;
3
+}
4
+div.sphinxsidebarwrapper p.logo {
5
+    text-align: left;
6
+}

+ 22
- 0
doc/source/_static/logo.svg View File

@@ -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>

+ 2
- 2
doc/source/conf.py View File

@@ -117,7 +117,7 @@ html_theme_options = {
117 117
 
118 118
 # The name of an image file (relative to this directory) to place at the top
119 119
 # of the sidebar.
120
-#html_logo = None
120
+html_logo = '_static/logo.svg'
121 121
 
122 122
 # The name of an image file (within the static path) to use as favicon of the
123 123
 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
@@ -127,7 +127,7 @@ html_theme_options = {
127 127
 # Add any paths that contain custom static files (such as style sheets) here,
128 128
 # relative to this directory. They are copied after the builtin static files,
129 129
 # so a file named "default.css" will overwrite the builtin "default.css".
130
-#html_static_path = ['_static']
130
+html_static_path = ['_static']
131 131
 
132 132
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
133 133
 # using the given strftime format.

Loading…
Cancel
Save