diff options
author | Didier Raboud <odyx@debian.org> | 2011-08-08 13:32:35 +0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-08-09 19:17:49 -0300 |
commit | 6bdd3c6d127c218b7af11a4935b29bb2368c888f (patch) | |
tree | 3a43405e5fc7a1ece2974aa572d313a23013a4c7 /doc/_templates | |
parent | d7c3ef8e620465a0d5716618e003ba8ef45fcaf2 (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.html | 31 |
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..b07c9f7d3 --- /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 %} |