aboutsummaryrefslogtreecommitdiffstats
path: root/doc/_templates
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2011-08-08 13:32:35 +0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:18 -0300
commit44a69e123dd2f610f0b7ecdd505a61130152e58c (patch)
treeea58b7d8639db3f4e31ec2e6a3b2543832761dc4 /doc/_templates
parent0540c82e917293ec97b73760ecf6ceb7fb06425c (diff)
Update pysidedocs theme to rely more on sphinx's base theme:
- Drop files that are redundant with sphinx. - Add _templates/layout.html to add the needed customisation. - Update theme.conf to ensure theme inheritance. - Update pysidedocs.css to fit the theme with sphinx's basic theme. Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'doc/_templates')
-rw-r--r--doc/_templates/layout.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
new file mode 100644
index 000000000..e71963e40
--- /dev/null
+++ b/doc/_templates/layout.html
@@ -0,0 +1,31 @@
+{% extends "!layout.html" %}
+
+# Invert sidebars
+{%- block sidebar1 %}{{ sidebar() }}{%- endblock %}
+{%- block sidebar2 %}{%- endblock %}
+
+{%- block header %}
+<div id="container">
+<div class="header">
+ <div class="header_container">
+ <div class="logo"><a href="http://www.pyside.org"><img alt="PySide" src="{{ pathto('_static/pysidelogo.png', 1) }}" width="199" height="102" /></a></div>
+ {{ relbar() }}
+ </div>
+</div>
+{%- endblock -%}
+
+{%- block footer %}
+ <div class="footer">
+ <a href="http://www.indt.org.br"><img src="{{ pathto('_static/logo_indt.jpg', 1) }}" alt="Indt" border="0" /></a>
+ <a href="http://www.openbossa.org"><img src="{{ pathto('_static/logo_openbossa.png', 1) }}" alt="Openbossa" border="0" /></a>
+ <a href="http://qt.nokia.com/"><img src="{{ pathto('_static/logo_qt.png', 1) }}" alt="Qt" border="0" /></a>
+ <a href="http://www.python.org"><img src="{{ pathto('_static/logo_python.jpg', 1) }}" alt="Python" border="0" /></a>
+ </div>
+</div>
+{%- endblock %}
+
+# No top relbar.
+{%- block relbar1 %}{%- endblock %}
+
+# No bottom relbar.
+{%- block relbar2 %}{%- endblock %}