summaryrefslogtreecommitdiff
path: root/docs/_templates/layout.html
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-08-12 17:33:32 -0700
committerLance Stout <lancestout@gmail.com>2011-08-12 17:33:32 -0700
commit5ef197e5fd93e851cb0da5a630fd38a191074371 (patch)
treeaa060bd25946e76f8e6d0bdce48d62f8f6da9dc5 /docs/_templates/layout.html
parent52ed02bd06f1762ef5f36e95f24ccb8230c1b36b (diff)
downloadslixmpp-5ef197e5fd93e851cb0da5a630fd38a191074371.tar.gz
slixmpp-5ef197e5fd93e851cb0da5a630fd38a191074371.tar.bz2
slixmpp-5ef197e5fd93e851cb0da5a630fd38a191074371.tar.xz
slixmpp-5ef197e5fd93e851cb0da5a630fd38a191074371.zip
Start of docs for 1.0
Diffstat (limited to 'docs/_templates/layout.html')
-rw-r--r--docs/_templates/layout.html69
1 files changed, 69 insertions, 0 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
new file mode 100644
index 00000000..a5dd7c82
--- /dev/null
+++ b/docs/_templates/layout.html
@@ -0,0 +1,69 @@
+{#
+ haiku/layout.html
+ ~~~~~~~~~~~~~~~~~
+
+ Sphinx layout template for the haiku theme.
+
+ :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
+#}
+{% extends "basic/layout.html" %}
+{% set script_files = script_files + ['_static/theme_extras.js'] %}
+{% set css_files = css_files + ['_static/print.css'] %}
+
+{# do not display relbars #}
+{% block relbar1 %}{% endblock %}
+{% block relbar2 %}{% endblock %}
+
+{% macro nav() %}
+ <p>
+ {%- block haikurel1 %}
+ {%- endblock %}
+ {%- if prev %}
+ «&#160;&#160;<a href="{{ prev.link|e }}">{{ prev.title }}</a>
+ &#160;&#160;::&#160;&#160;
+ {%- endif %}
+ <a class="uplink" href="{{ pathto(master_doc) }}">{{ _('Contents') }}</a>
+ {%- if next %}
+ &#160;&#160;::&#160;&#160;
+ <a href="{{ next.link|e }}">{{ next.title }}</a>&#160;&#160;»
+ {%- endif %}
+ {%- block haikurel2 %}
+ {%- endblock %}
+ </p>
+{% endmacro %}
+
+{% block content %}
+ <div class="header">
+ {%- block haikuheader %}
+ {%- if theme_full_logo != "false" %}
+ <a href="{{ pathto('index') }}">
+ <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
+ </a>
+ {%- else %}
+ {%- if logo -%}
+ <img class="rightlogo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
+ {%- endif -%}
+ <h1 class="heading">
+ <a href="{{ pathto('index') }}"><span>{{ project|e }}</span></a>
+ </h1>
+ <h2 class="heading"><span>{{ shorttitle|e }}</span></h2>
+ {%- endif %}
+ {%- endblock %}
+ </div>
+ <div class="topnav">
+ {{ nav() }}
+ </div>
+ <div class="content">
+ {#{%- if display_toc %}
+ <div id="toc">
+ <h3>Table Of Contents</h3>
+ {{ toc }}
+ </div>
+ {%- endif %}#}
+ {% block body %}{% endblock %}
+ </div>
+ <div class="bottomnav">
+ {{ nav() }}
+ </div>
+{% endblock %}