Prechádzať zdrojové kódy

Add logo to documentation pages

Stan Janssen 4 rokov pred
rodič
commit
c98d633a8f
4 zmenil súbory, kde vykonal 11 pridanie a 1 odobranie
  1. 9 0
      docs/_static/css/custom.css
  2. 1 0
      docs/conf.py
  3. 1 1
      docs/index.rst
  4. BIN
      docs/logo-tall.png

+ 9 - 0
docs/_static/css/custom.css

@@ -9,4 +9,13 @@ body{
 
 div.bodywrapper{
     margin: 0 0 0 260px;
+}
+
+div.sphinxsidebarwrapper p.logo{
+    margin-bottom: 20px;
+    text-align: left;
+}
+
+div.sphinxsidebarwrapper h1.logo{
+    display: none;
 }

+ 1 - 0
docs/conf.py

@@ -54,6 +54,7 @@ autoclass_content = 'both'
 # a list of builtin themes.
 #
 html_theme = 'alabaster'
+html_logo = 'logo-tall.png'
 
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,

+ 1 - 1
docs/index.rst

@@ -7,7 +7,7 @@
 Welcome to OpenLEADR
 ====================
 
-Super-convenient Python implementation of an OpenADR client and server.
+A friendly and compliant OpenADR implementation for Python 3.
 
 Key Features
 ============

BIN
docs/logo-tall.png