[gi-docgen/for-main: 1/2] docs: Add project logo




commit 9c3014939d679493f6e40d36fe77c8e79823d957
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sat Dec 11 00:47:41 2021 +0000

    docs: Add project logo

 docs/conf.py       |   4 +++-
 docs/gi-docgen.png | Bin 0 -> 3696 bytes
 docs/gi-docgen.svg |  28 ++++++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 1 deletion(-)
---
diff --git a/docs/conf.py b/docs/conf.py
index 148dae4..4a60309 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -19,13 +19,15 @@ exclude_patterns = ['_build']
 
 html_theme = 'sphinx_rtd_theme'
 html_show_copyright = False
+html_logo = "gi-docgen.png"
 html_title = project
 
 html_theme_options = {
+    'logo_only': True,
     'display_version': False,
 }
 
-html_static_path = ['extra.css']
+html_static_path = ['gi-docgen.png', 'extra.css']
 
 html_context = {
     'extra_css_files': [
diff --git a/docs/gi-docgen.png b/docs/gi-docgen.png
new file mode 100644
index 0000000..ea794b3
Binary files /dev/null and b/docs/gi-docgen.png differ
diff --git a/docs/gi-docgen.svg b/docs/gi-docgen.svg
new file mode 100644
index 0000000..0798589
--- /dev/null
+++ b/docs/gi-docgen.svg
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="256" height="256" version="1.1"
+     xmlns="http://www.w3.org/2000/svg";
+     xmlns:xlink="http://www.w3.org/1999/xlink";>
+  <defs>
+    <linearGradient id="Gradient" x1="0" x2="0" y1="0" y2="1">
+      <stop offset="0%" style="stop-color:#C061CB;stop-opacity:1" />
+      <stop offset="100%" style="stop-color:#62A0EA;stop-opacity:1" />
+    </linearGradient>
+    <filter id="alpha-to-white">
+      <feColorMatrix in="SourceGraphic" type="matrix"
+                     values="0 0 0 1 0
+                             0 0 0 1 0
+                             0 0 0 1 0
+                             0 0 0 1 0"/>
+    </filter>
+    <g id="child-svg"><svg xmlns="http://www.w3.org/2000/svg"; width="16" height="16"><g fill="#474747"><path 
d="M9.57 1.184c-.567.078-1.251.35-2.015.753-1.541-.844-2.741-.896-3.748-.638-1.07.274-1.938.722-3.291.681L0 
1.965v10.81h.5c1.322 0 2.48-.601 3.555-.867 1.075-.265 1.992-.296 3.144.738l.338.305.336-.308c1.119-1.033 
2.01-1.004 3.074-.74 1.065.263 2.224.864 3.55.872l.503.004V1.982L14.482 2c-1.516.055-2.27-.394-3.25-.684a3.84 
3.84 0 00-1.662-.132zm.11.96c.478-.07.854.01 1.267.131.726.215 1.679.602 
3.053.664v8.707c-.875-.127-1.778-.459-2.812-.714-1.12-.277-2.408-.163-3.655.8-1.278-.967-2.586-1.074-3.717-.795-1.043.258-1.946.59-2.816.711v-8.73c1.274-.073
 2.247-.444 3.055-.65.924-.237 1.727-.287 3.242.623l.252.152.254-.147C8.62 2.43 9.2 2.214 9.68 2.145z" 
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;te
 
xt-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal"
 color="#000" font-weight="400" font-family="sans-serif" overflow="visible"/><path d="M7 
2.397h1V12H7z"/><path d="M0 2.5V16h15V2.518h-2V14H2V2.5z" 
style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal;marker:none"
 color="#000" font-weight="400" font-family="sans-serif" overflow="visible"/><path d="M.938 
14.75v-2.188l4.219-1.13 2.343.597 2.387-.671 3.742 1.003v2.451z" style="marker:none" color="#000" 
overflow="visible" opacity=".3"/></g></svg></g>
+  </defs>
+  <rect
+      width="256"
+      height="256"
+      fill="url(#Gradient)"
+      ry="0"
+      x="0"
+      y="0" />
+  <use xlink:href="#child-svg" filter="url(#alpha-to-white)"
+       transform="matrix(8,0,0,8,64,64)" />
+</svg>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]