|
From: Zbigniew R. <zre...@ce...> - 2015-08-21 07:48:56
|
From: zreszela <zre...@ce...>
Use official logo in the sidebar instead of customizing the template and
placing logo on top of the page.
---
doc/source/_templates/layout.html | 18 +-----------------
doc/source/conf.py | 3 ++-
2 files changed, 3 insertions(+), 18 deletions(-)
diff --git a/doc/source/_templates/layout.html b/doc/source/_templates/layout.html
index 1eb1940..4ce9dd6 100644
--- a/doc/source/_templates/layout.html
+++ b/doc/source/_templates/layout.html
@@ -8,21 +8,5 @@
{% endblock %}
{% block relbar1 %}
-<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
- <table cellpading='0' cellspacing='0' width='100%'>
- <tr>
- <td align='left'>
- <a href="{{ pathto('index') }}">
- <img src="{{ pathto("_static/logo.png", 1) }}" border="0" alt="taurus"/>
- </a>
- </td>
- <td align='right'>
- <img src="{{ pathto("_static/taurus_codelogo01.png", 1) }}" border="0" alt="taurus"/>
- </td>
- </tr>
- </table>
-</div>
{{ super() }}
-{% endblock %}
-
-
+{% endblock %}
\ No newline at end of file
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 4691848..a79d8b7 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -212,7 +212,8 @@ html_theme_path = []
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
-#html_logo = None
+# using bmp, cause the logo's width should not exceed 200 pixels
+html_logo = os.path.join(os.pardir, os.pardir, 'taurus.bmp')
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
--
1.8.4.5
|