summaryrefslogtreecommitdiff
path: root/doc/build/templates/site_base.mako
diff options
context:
space:
mode:
Diffstat (limited to 'doc/build/templates/site_base.mako')
-rw-r--r--doc/build/templates/site_base.mako27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/build/templates/site_base.mako b/doc/build/templates/site_base.mako
new file mode 100644
index 0000000..301c6a6
--- /dev/null
+++ b/doc/build/templates/site_base.mako
@@ -0,0 +1,27 @@
+<%text>#coding:utf-8
+<%inherit file="/base.html"/>
+<%page cache_type="file" cached="True"/>
+<%!
+ in_docs=True
+%>
+</%text>
+
+<div style="text-align:right">
+<b>PDF Download:</b> <a href="${pathto('sqlalchemy_' + release.replace('.', '_') + '.pdf', 1)}">download</a>
+</div>
+
+${'<%text>'}
+${next.body()}
+${'</%text>'}
+
+<%text><%def name="style()"></%text>
+ ${self.headers()}
+ <%text>${parent.style()}</%text>
+ <link href="/css/site_docs.css" rel="stylesheet" type="text/css"></link>
+<%text></%def></%text>
+
+<%text><%def name="title()"></%text>${capture(self.show_title)|util.striptags} &mdash; ${docstitle|h}<%text></%def></%text>
+
+<%!
+ local_script_files = []
+%>