Commit 63918e2e authored by Benjamin Eberlei's avatar Benjamin Eberlei

Adjust layout to new Doctrine theme.

parent ad9435dd
#Copyright (c) 2010 Fabien Potencier
#
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the Software is furnished
#to do so, subject to the following conditions:
#
#The above copyright notice and this permission notice shall be included in all
#copies or substantial portions of the Software.
#
#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
#THE SOFTWARE.
from docutils.parsers.rst import Directive, directives
from docutils import nodes
from string import upper
class configurationblock(nodes.General, nodes.Element):
pass
class ConfigurationBlock(Directive):
has_content = True
required_arguments = 0
optional_arguments = 0
final_argument_whitespace = True
option_spec = {}
formats = {
'html': 'HTML',
'xml': 'XML',
'php': 'PHP',
'yaml': 'YAML',
'jinja': 'Twig',
'html+jinja': 'Twig',
'jinja+html': 'Twig',
'php+html': 'PHP',
'html+php': 'PHP',
'ini': 'INI',
'php-annotations': 'Annotations',
}
def run(self):
env = self.state.document.settings.env
node = nodes.Element()
node.document = self.state.document
self.state.nested_parse(self.content, self.content_offset, node)
entries = []
for i, child in enumerate(node):
if isinstance(child, nodes.literal_block):
# add a title (the language name) before each block
#targetid = "configuration-block-%d" % env.new_serialno('configuration-block')
#targetnode = nodes.target('', '', ids=[targetid])
#targetnode.append(child)
innernode = nodes.emphasis(self.formats[child['language']], self.formats[child['language']])
para = nodes.paragraph()
para += [innernode, child]
entry = nodes.list_item('')
entry.append(para)
entries.append(entry)
resultnode = configurationblock()
resultnode.append(nodes.bullet_list('', *entries))
return [resultnode]
def visit_configurationblock_html(self, node):
self.body.append(self.starttag(node, 'div', CLASS='configuration-block'))
def depart_configurationblock_html(self, node):
self.body.append('</div>\n')
def visit_configurationblock_latex(self, node):
pass
def depart_configurationblock_latex(self, node):
pass
def setup(app):
app.add_node(configurationblock,
html=(visit_configurationblock_html, depart_configurationblock_html),
latex=(visit_configurationblock_latex, depart_configurationblock_latex))
app.add_directive('configuration-block', ConfigurationBlock)
div.configuration-block ul.simple
{
margin: 0;
padding: 0;
margin-left: 30px;
}
div.configuration-block ul.simple li
{
margin: 0 !important;
margin-right: 5px !important;
display: inline;
margin-left: 10px;
padding: 10px;
}
div.configuration-block em
{
margin-bottom: 10px;
}
div.configuration-block li
{
padding: 5px;
}
div.configuration-block em
{
font-style: normal;
font-size: 90%;
}
div.jsactive
{
position: relative;
}
div.jsactive ul
{
list-style: none;
}
div.jsactive li
{
float: left;
list-style: none;
margin-left: 0;
-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
background-color: #ddd;
margin-right: 5px;
}
div.jsactive .selected
{
background-color: #000;
}
div.jsactive .selected a
{
color: #fff;
text-decoration: none;
}
div.jsactive .selected a:hover
{
color: #fff;
text-decoration: underline;
}
div.jsactive a
{
color: #000;
text-decoration: none;
}
div.jsactive a:hover
{
color: #000;
text-decoration: underline;
}
div.jsactive div
{
position: absolute;
top: 30px;
left: 0;
}
div.jsactive div div
{
position: static;
}
div.jsactive pre
{
margin: 0;
}
$(document).ready(function(){
$('div.configuration-block [class^=highlight-]').hide();
$('div.configuration-block [class^=highlight-]').width($('div.configuration-block').width());
$('div.configuration-block').addClass('jsactive');
$('div.configuration-block').addClass('clearfix');
$('div.configuration-block').each(function (){
var el = $('[class^=highlight-]:first', $(this));
el.show();
el.parents('ul').height(el.height() + 40);
});
// Global
$('div.configuration-block li').each(function(){
var str = $(':first', $(this)).html();
$(':first ', $(this)).html('');
$(':first ', $(this)).append('<a href="#">' + str + '</a>')
$(':first', $(this)).bind('click', function(){
$('[class^=highlight-]', $(this).parents('ul')).hide();
$('li', $(this).parents('ul')).removeClass('selected');
$(this).parent().addClass('selected');
var block = $('[class^=highlight-]', $(this).parent('li'));
block.show();
block.parents('ul').height(block.height() + 40);
return false;
});
});
$('div.configuration-block').each(function (){
$('li:first', $(this)).addClass('selected');
});
});
/*
* default.css_t
* ~~~~~~~~~~~~~
*
* Sphinx stylesheet -- default theme.
*
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
@import url("basic.css");
div.sphinxsidebar {
width: 300px;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td,button { margin:0; padding:0; }
ul,li { list-style-type:none; }
select { min-width: 1.5em;}
select > option { padding: 0 2px 0 3px; }
form { margin: 0; padding: 0; }
img { border: 0; }
hr { clear:both; display: none; }
label { display: none; }
fieldset { border: 0; }
q:before,q:after { content:''; }
abbr,acronym { border:0; }
.reset div,
.reset dl,
.reset dt,
.reset dd,
.reset ul,
.reset ol,
.reset li,
.reset h1,
.reset h2,
.reset h3,
.reset h4,
.reset h5,
.reset h6,
.reset pre,
.reset code,
.reset form,
.reset fieldset,
.reset legend,
.reset input,
.reset textarea,
.reset p,
.reset blockquote,
.reset th,
.reset td{margin:0 !important;padding:0 !important;}
.reset table{border-collapse:collapse !important;border-spacing:0 !important;}
.reset fieldset,.reset img{border:0 !important;}
.reset address,
.reset caption,
.reset cite,
.reset code,
.reset dfn,
.reset em,
.reset strong,
.reset th,
.reset var{font-style:normal !important;font-weight:normal !important;}
.reset li{list-style:none !important;}
.reset caption,.reset th{text-align:left !important;}
.reset h1,.reset h2,.reset h3,.reset h4,.reset h5,.reset h6{font-size:100% !important;font-weight:normal !important;}
.reset q:before,.reset q:after{content:'' !important;}
.reset abbr,.reset acronym {border:0 !important;font-variant:normal !important;}
/* to preserve line-height and selector appearance */
.reset sup {vertical-align:text-top !important;}
.reset sub {vertical-align:text-bottom !important;}
.reset input,.reset textarea,.reset select{font-family:inherit !important;font-size:inherit !important;font-weight:inherit !important;}
/*to enable resizing for IE*/
.reset input,.reset textarea,.reset select{*font-size:100% !important;}
/*because legend doesn't inherit in IE */
.reset legend{color:#000 !important;}
/* -- page layout ----------------------------------------------------------- */
div.document {
margin-right: 30px;
}
div.documentwrapper {
float: left;
width: 100%;
}
div.bodywrapper {
margin: 0 0 0 300px;
}
div.body {
background-color: #ffffff;
color: #000000;
}
div.footer {
color: #ffffff;
width: 100%;
padding: 9px 0 9px 0;
text-align: center;
font-size: 75%;
}
div.footer a {
color: #ffffff;
text-decoration: underline;
}
div.related {
background-color: #ffc;
width: 100%;
font-size: 90%;
margin-top: -40px;
height: 35px;
}
div.related h3 {
display: none;
}
div.related ul {
margin: 0;
padding: 0 0 0 10px;
list-style: none;
}
div.related li {
float: left;
font-weight: bold;
}
div.related li.right {
float: right;
margin-right: 5px !important;
margin-left: 5px !important;
}
div.sphinxsidebar {
background: #f2f2f2;
}
div.sphinxsidebar h3 {
font-family: 'Trebuchet MS', sans-serif;
color: #000000;
font-size: 1.4em;
font-weight: normal;
margin: 0;
padding: 0;
margin-left: 0 !important;
}
div.sphinxsidebar h3 a {
color: #000000;
}
div.sphinxsidebar h4 {
font-family: 'Trebuchet MS', sans-serif;
color: #000000;
font-size: 1.3em;
font-weight: normal;
margin: 5px 0 0 0;
padding: 0;
margin-left: 0 !important;
}
div.sphinxsidebar p {
color: #000000;
}
div.sphinxsidebar p.topless {
margin: 5px 10px 10px 10px;
}
div.sphinxsidebar ul {
margin: 0;
padding: 0;
color: #000000;
}
div.sphinxsidebar ul li {
margin-left: 5px !important;
}
div.sphinxsidebar a {
color: #000000;
font-weight: bold;
}
div.sphinxsidebar input {
border: 1px solid #98dbcc;
font-family: sans-serif;
font-size: 1em;
}
/* -- hyperlink styles ------------------------------------------------------ */
a {
color: #355f7c;
text-decoration: none;
}
a:visited {
color: #355f7c;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* -- body styles ----------------------------------------------------------- */
div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
font-family: 'Trebuchet MS', sans-serif;
background-color: #f2f2f2;
font-weight: normal;
color: #20435c;
border-bottom: 1px solid #ccc;
margin: 20px -20px 10px -20px;
padding: 3px 0 3px 10px;
}
div.body h1 { margin-top: 0; font-size: 200%; }
div.body h2 { font-size: 160%; }
div.body h3 { font-size: 140%; }
div.body h4 { font-size: 120%; }
div.body h5 { font-size: 110%; }
div.body h6 { font-size: 100%; }
a.headerlink {
color: #c60f0f;
font-size: 0.8em;
padding: 0 4px 0 4px;
text-decoration: none;
}
a.headerlink:hover {
background-color: #c60f0f;
color: white;
}
div.body p, div.body dd, div.body li {
text-align: justify;
line-height: 130%;
}
div.highlight {
margin-left: 30px;
}
div.highlight pre {
margin-left: 0;
}
div.admonition p.admonition-title + p {
display: inline;
}
div.admonition p {
margin-bottom: 5px;
}
div.admonition pre {
margin-bottom: 5px;
}
div.admonition ul, div.admonition ol {
margin-bottom: 5px;
}
div.note {
background-color: #eee;
border: 1px solid #ccc;
}
div.seealso {
background-color: #ffc;
border: 1px solid #ff6;
}
div.topic {
background-color: #eee;
}
div.warning {
background-color: #ffe4e4;
border: 1px solid #f66;
}
p.admonition-title {
display: inline;
}
p.admonition-title:after {
content: ":";
}
tt {
background-color: #ecf0f3;
padding: 0 1px 0 1px;
font-size: 1.4em;
}
th {
background-color: #ede;
}
.warning tt {
background: #efc2c2;
}
.note tt {
background: #d6d6d6;
}
.viewcode-back {
font-family: sans-serif;
}
div.viewcode-block:target {
background-color: #f4debf;
border-top: 1px solid #ac9;
border-bottom: 1px solid #ac9;
}
img
{
vertical-align: middle;
}
.js_active
{
cursor: pointer;
display: inline-block;
background: url(/images/btn-open.png) no-repeat 550px center;
}
ul.error_list
{
margin: 0;
list-style: none;
color: #f22;
}
ul.error_list li
{
list-style: none;
}
pre
{
padding: 0.7em;
background-color: #000;
line-height: 1.3em !important;
font-size: 100%;
color: #fff;
}
pre code
{
background-color: #000;
}
pre.command-line
{
background-color: #333;
color: #eee;
padding-bottom: 10px;
}
pre.command-line code
{
background-color: #333;
}
blockquote
{
padding: 2px 20px 5px 45px;
margin: 15px 0;
background-color: #fff;
}
div.admonition
{
padding: 2px 20px 5px 45px;
background-color: #fff;
margin-left: 30px;
}
div.note
{
background: #fff url(http://www.doctrine-project.org/images/note.png) no-repeat -5px -5px;
}
div.caution
{
background: #fff url(http://www.doctrine-project.org/images/caution.png) no-repeat -5px -5px;
}
div.tip
{
background: #fff url(http://www.doctrine-project.org/images/tip.png) no-repeat -5px -5px;
}
div.seealso
{
background: #fff url(http://www.doctrine-project.org/images/tip.png) no-repeat -5px -5px;
}
/* Note/Caution/Tip Boxes */
/* Note */
div.note {
padding: 5px 20px 5px 45px;
margin: 10px 0;
background: #ffd url(http://www.doctrine-project.org/images/note.png) no-repeat 5px 10px;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
/* Caution */
div.caution {
padding: 5px 20px 5px 45px;
margin: 10px 0;
background: #ffd url(http://www.doctrine-project.org/images/caution.png) no-repeat 5px 10px;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
/* Tip */
div.tip {
padding: 5px 20px 5px 45px;
margin: 10px 0;
background: #ffd url(http://www.doctrine-project.org/images/tip.png) no-repeat 5px 10px;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
/* Sidebar */
div.seealso {
margin: 10px 0;
padding: 10px;
background: #ccc;
}
div.seealso ul {
margin: 10px;
}
div.seealso p.title {
margin: -20px;
margin-bottom: 10px !important;
padding: 10px !important;
background: #aaa;
color: #fff;
font-weight: bold;
}
/* Shared Styles */
div.note, div.caution, div.tip, div.seealso {
overflow/**/: auto;
margin-left: 30px;
font-weight: normal;
min-height: 40px;
}
div.note p, div.caution p, div.tip p, div.seealso p {
margin: 0 !important;
padding: 0 !important;
padding-top: 10px;
}
.admonition-title
{
display: none !important;
}
blockquote.quote
{
background: #D7CABA;
}
blockquote.sidebar
{
padding: 10px;
background: #eee;
}
blockquote.sidebar p.title
{
margin: -10px;
margin-bottom: 10px;
padding: 10px;
background: #ddd;
font-style: italic;
}
.navigation
{
font-family: Arial, sans-serif;
padding: 10px 15px;
font-size: 0.9em;
text-align:center;
background-color: #e3e3e3;
border: 1px solid #e3e3e3;
-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
}
.navigation a
{
text-decoration: none;
}
.navigation a:hover
{
text-decoration: underline;
}
.navigation .separator
{
padding: 0 10px;
color: #ccc;
}
.feedback p
{
font-family: Arial, sans-serif;
color: #858585;
font-size: 0.8em;
}
.feedback h3
{
border-top: 1px solid #ddd;
font-family: Georgia, "Times New Roman", serif;
margin-top: 10px;
padding-top: 20px;
color: #858585;
}
.toc
{
margin-top: 10px;
padding: 10px;
background-color: #f1f1f1;
border: 1px solid #e3e3e3;
-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
font-family: Arial, sans-serif;
}
.toc h2
{
margin: 0;
padding: 0;
}
.pages
{
padding: 10px 0 0 0;
}
.pages ul.inline
{
display: inline;
padding: 5px 0 0 0;
}
.pages .inline li
{
display: inline;
margin: 0 5px;
}
#quick-tour ul.simple
{
padding: 5px 0 0 0;
}
#quick-tour ul.simple li
{
margin: 0;
margin-right: 5px;
display: inline;
}
.toc a
{
text-decoration: none;
color: #777;
}
.toc a:hover
{
text-decoration: underline;
}
.bd .content .toc li
{
padding: 2px;
list-style: square;
margin-left: 15px;
}
.bd .content .toc li.current
{
font-weight: bold;
background-color: #e3e3e3;
}
.bd .content .toc ul.inline
{
padding: 0;
margin: 0;
margin-left: 3px;
}
.bd .content .toc .inline li
{
margin: 0;
padding: 0;
}
.bd .content .toc li.separator
{
color: #ccc;
}
#release_info
{
background-color: #e3e3e3;
border: 1px solid #e3e3e3;
margin-bottom: 15px;
-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
width: 290px;
}
#license
{
margin-top: 40px;
line-height: 1.2em;
font-size: 80%;
}
#license img
{
margin-right: 5px;
}
table.docutils
{
margin-bottom: 10px;
}
table.docutils th
{
font-weight:bold;
background-color: #efefef;
}
table.docutils td, table.docutils th
{
padding: 4px 6px;
border: 0;
border-bottom: 1px solid #ddd;
text-align: left;
vertical-align: top;
}
.menu
{
float: right;
width: 300px;
margin: 15px;
font-size: 0.7em;
background-color: #fff;
position: relative;
z-index: 999;
}
#searchform
{
display: inline;
}
#search
{
-webkit-appearance: searchfield;
}
span.pre
{
font-size: 85%;
}
.bd .content .navigation li
{
margin-left: 0;
}
a.headerlink
{
padding: 2px;
color: #ddd;
text-decoration: none;
font-size: 80%;
}
a.reference em, a.internal em
{
font-style: normal;
}
#guides ul ul, #contributing ul ul
{
display: inline;
padding: 5px 0 0 0;
}
#guides ul ul li, #contributing ul ul li
{
display: inline;
margin: 0;
}
.sidebarbox
{
margin-top: 10px;
padding: 10px;
background-color: #f1f1f1;
border: 1px solid #e3e3e3;
-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
font-family: Arial, sans-serif;
}
.sidebarbox h2
{
margin: 0;
padding: 0;
}
.sidebarbox h3
{
margin: 0;
padding: 0;
margin-top: 5px;
}
#searchbox h3 a.nolink
{
padding: 0;
text-decoration: none;
}
#searchbox h3 a.nolink:hover
{
text-decoration: underline;
}
div.breadcrumb h3
{
display: none;
}
.bd .content div.breadcrumb ul
{
margin: 0;
padding: 0;
list-style: none;
margin-top: 5px;
}
.bd .content div.breadcrumb li
{
display: inline;
margin: 0;
padding: 0;
line-height: 0.9em;
}
.bd .content div.breadcrumb li a
{
color: #777;
text-decoration: none;
}
.bd .content div.breadcrumb li a:hover
{
text-decoration: underline;
}
.p-Indicator
{
color: #FF8400;
}
.bd .content ul.search li
{
margin-left: 0;
padding: 5px 0 5px 20px;
background-image: url(file.png);
background-repeat: no-repeat;
background-position: 0 7px;
}
div.genindex-jumpbox
{
font-size: 85%;
border: 0;
margin: 1em 0 1em 0;
padding: 0.4em;
}
div.genindex-jumpbox
{
color: #999;
}
div.genindex-jumpbox strong
{
font-weight: normal;
}
div.genindex-jumpbox a
{
padding: 0 4px;
}
h2#A, h2#B, h2#C, h2#D, h2#E, h2#F, h2#G, h2#H, h2#I, h2#J, h2#K, h2#L, h2#M, h2#N, h2#O,
h2#P, h2#Q, h2#R, h2#S, h2#T, h2#U, h2#V, h2#W, h2#X, h2#Y, h2#Z
{
background-color: #eee;
border-bottom: 1px solid #aaa;
font-size: 120%;
font-weight: bold;
margin: 20px 0;
padding: 5px;
}
.indextable a, div.genindex-jumpbox a
{
text-decoration: none;
}
.indextable a:hover, div.genindex-jumpbox a:hover
{
text-decoration: underline;
}
div.configuration-block em
{
margin-bottom: 10px;
}
.bd .content div.configuration-block li
{
padding: 5px;
}
.bd .content div.configuration-block em
{
font-style: normal;
font-size: 90%;
}
div.jsactive
{
position: relative;
}
.bd .content div.jsactive ul
{
list-style: none;
}
.bd .content div.jsactive li
{
float: left;
list-style: none;
margin-left: 0;
-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
background-color: #ddd;
margin-right: 5px;
}
.bd .content div.jsactive .selected
{
background-color: #000;
}
.bd .content div.jsactive .selected a
{
color: #fff;
text-decoration: none;
}
.bd .content div.jsactive .selected a:hover
{
color: #fff;
text-decoration: underline;
}
.bd .content div.jsactive a
{
color: #000;
text-decoration: none;
}
.bd .content div.jsactive a:hover
{
color: #000;
text-decoration: underline;
}
div.jsactive div
{
position: absolute;
top: 30px;
left: 0;
}
div.jsactive div div
{
position: static;
}
div.jsactive pre
{
margin: 0;
}
.highlight
{
overflow: auto;
margin-bottom: 10px;
}
\ No newline at end of file
.highlight .hll { background-color: #ffffcc }
.highlight { background: #000000; }
.highlight .c { color: #B729D9; font-style: italic } /* Comment */
.highlight .err { color: #a40000; border: 1px solid #ef2929 } /* Error */
.highlight .g { color: #ffffff } /* Generic */
.highlight .k { color: #FF8400 } /* Keyword */
.highlight .l { color: #ffffff } /* Literal */
.highlight .n { color: #ffffff } /* Name */
.highlight .o { color: #E0882F } /* Operator */
.highlight .x { color: #ffffff } /* Other */
.highlight .p { color: #999999 } /* Punctuation */
.highlight .cm { color: #B729D9; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #a0a0a0 } /* Comment.Preproc */
.highlight .c1 { color: #B729D9; font-style: italic } /* Comment.Single */
.highlight .cs { color: #B729D9; font-style: italic } /* Comment.Special */
.highlight .gd { color: #a40000 } /* Generic.Deleted */
.highlight .ge { color: #ffffff; font-style: italic } /* Generic.Emph */
.highlight .gr { color: #ef2929 } /* Generic.Error */
.highlight .gh { color: #000080 } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #808080 } /* Generic.Output */
.highlight .gp { color: #745334 } /* Generic.Prompt */
.highlight .gs { color: #ffffff; font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #a40000; font-weight: bold } /* Generic.Traceback */
.highlight .kc { color: #004461 } /* Keyword.Constant */
.highlight .kd { color: #004461 } /* Keyword.Declaration */
.highlight .kn { color: #004461 } /* Keyword.Namespace */
.highlight .kp { color: #004461 } /* Keyword.Pseudo */
.highlight .kr { color: #004461 } /* Keyword.Reserved */
.highlight .kt { color: #004461 } /* Keyword.Type */
.highlight .ld { color: #ffffff } /* Literal.Date */
.highlight .m { color: #1299DA } /* Literal.Number */
.highlight .s { color: #56DB3A } /* Literal.String */
.highlight .na { color: #ffffff } /* Name.Attribute */
.highlight .nb { color: #ffffff } /* Name.Builtin */
.highlight .nc { color: #ffffff } /* Name.Class */
.highlight .no { color: #ffffff } /* Name.Constant */
.highlight .nd { color: #808080 } /* Name.Decorator */
.highlight .ni { color: #ce5c00 } /* Name.Entity */
.highlight .ne { color: #cc0000 } /* Name.Exception */
.highlight .nf { color: #ffffff } /* Name.Function */
.highlight .nl { color: #f57900 } /* Name.Label */
.highlight .nn { color: #ffffff } /* Name.Namespace */
.highlight .nx { color: #ffffff } /* Name.Other */
.highlight .py { color: #ffffff } /* Name.Property */
.highlight .nt { color: #cccccc } /* Name.Tag */
.highlight .nv { color: #ffffff } /* Name.Variable */
.highlight .ow { color: #E0882F } /* Operator.Word */
.highlight .w { color: #f8f8f8; text-decoration: underline } /* Text.Whitespace */
.highlight .mf { color: #1299DA } /* Literal.Number.Float */
.highlight .mh { color: #1299DA } /* Literal.Number.Hex */
.highlight .mi { color: #1299DA } /* Literal.Number.Integer */
.highlight .mo { color: #1299DA } /* Literal.Number.Oct */
.highlight .sb { color: #56DB3A } /* Literal.String.Backtick */
.highlight .sc { color: #56DB3A } /* Literal.String.Char */
.highlight .sd { color: #B729D9; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #56DB3A } /* Literal.String.Double */
.highlight .se { color: #56DB3A } /* Literal.String.Escape */
.highlight .sh { color: #56DB3A } /* Literal.String.Heredoc */
.highlight .si { color: #56DB3A } /* Literal.String.Interpol */
.highlight .sx { color: #56DB3A } /* Literal.String.Other */
.highlight .sr { color: #56DB3A } /* Literal.String.Regex */
.highlight .s1 { color: #56DB3A } /* Literal.String.Single */
.highlight .ss { color: #56DB3A } /* Literal.String.Symbol */
.highlight .bp { color: #3465a4 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #ffffff } /* Name.Variable.Class */
.highlight .vg { color: #ffffff } /* Name.Variable.Global */
.highlight .vi { color: #ffffff } /* Name.Variable.Instance */
.highlight .il { color: #1299DA } /* Literal.Number.Integer.Long */
\ No newline at end of file
{%- block doctype -%}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{%- endblock %}
{%- set reldelim1 = reldelim1 is not defined and ' &raquo;' or reldelim1 %}
{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
{%- set url_root = pathto('', 1) %}
{%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
{%- macro relbar() %}
<div class="related">
<h3>{{ _('Navigation') }}</h3>
<ul>
{%- for rellink in rellinks %}
<li class="right" {% if loop.first %}style="margin-right: 10px"{% endif %}>
<a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags }}"
{{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
{%- if not loop.first %}{{ reldelim2 }}{% endif %}</li>
{%- endfor %}
{%- block rootrellink %}
<li><a href="http://www.doctrine-project.org">Doctrine Homepage</a> &raquo;</li>
<li><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>{{ reldelim1 }}</li>
{%- endblock %}
{%- for parent in parents %}
<li><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li>
{%- endfor %}
{%- block relbaritems %} {% endblock %}
</ul>
</div>
{%- endmacro %}
{%- macro sidebar() %}
{%- if not embedded %}{% if not theme_nosidebar|tobool %}
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
{%- block sidebarlogo %}
{%- if logo %}
<p class="logo"><a href="{{ pathto(master_doc) }}">
<img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
</a></p>
{%- endif %}
{%- endblock %}
{%- block sidebartoc %}
{%- if display_toc %}
<h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3>
{{ toc }}
{%- endif %}
{%- endblock %}
{%- block sidebarrel %}
{%- if prev %}
<h4>{{ _('Previous topic') }}</h4>
<p class="topless"><a href="{{ prev.link|e }}"
title="{{ _('previous chapter') }}">{{ prev.title }}</a></p>
{%- endif %}
{%- if next %}
<h4>{{ _('Next topic') }}</h4>
<p class="topless"><a href="{{ next.link|e }}"
title="{{ _('next chapter') }}">{{ next.title }}</a></p>
{%- endif %}
{%- endblock %}
{%- block sidebarsourcelink %}
{%- if show_source and has_source and sourcename %}
<h3>{{ _('This Page') }}</h3>
<ul class="this-page-menu">
<li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
rel="nofollow">{{ _('Show Source') }}</a></li>
</ul>
{%- endif %}
{%- endblock %}
{%- if customsidebar %}
{% include customsidebar %}
{%- endif %}
{%- block sidebarsearch %}
{%- if pagename != "search" %}
<div id="searchbox" style="display: none">
<h3>{{ _('Quick search') }}</h3>
<form class="search" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" size="18" />
<input type="submit" value="{{ _('Go') }}" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
{{ _('Enter search terms or a module, class or function name.') }}
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
{%- endif %}
{%- endblock %}
</div>
</div>
{%- endif %}{% endif %}
{%- endmacro %}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{{ metatags }}
{%- if not embedded and docstitle %}
{%- set titlesuffix = " &mdash; "|safe + docstitle|e %}
{%- else %}
{%- set titlesuffix = "" %}
{%- endif %}
<title>{{ title|striptags }}{{ titlesuffix }}</title>
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
<link rel="stylesheet" href="http://www.doctrine-project.org/css/layout.css" type="text/css" />
<link rel="stylesheet" href="{{ pathto('_static/configurationblock.css', 1) }}" type="text/css" />
{%- if not embedded %}
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '{{ url_root }}',
VERSION: '{{ release|e }}',
COLLAPSE_MODINDEX: false,
FILE_SUFFIX: '{{ file_suffix }}',
HAS_SOURCE: {{ has_source|lower }}
};
</script>
{%- for scriptfile in script_files %}
<script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static/configurationblock.js', 1) }}"></script>
{%- endfor %}
{%- if use_opensearch %}
<link rel="search" type="application/opensearchdescription+xml"
title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}"
href="{{ pathto('_static/opensearch.xml', 1) }}"/>
{%- endif %}
{%- if favicon %}
<link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
{%- endif %}
{%- endif %}
{%- block linktags %}
{%- if hasdoc('about') %}
<link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" />
{%- endif %}
{%- if hasdoc('genindex') %}
<link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" />
{%- endif %}
{%- if hasdoc('search') %}
<link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" />
{%- endif %}
{%- if hasdoc('copyright') %}
<link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" />
{%- endif %}
<link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}" />
{%- if parents %}
<link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}" />
{%- endif %}
{%- if next %}
<link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}" />
{%- endif %}
{%- if prev %}
<link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}" />
{%- endif %}
{%- endblock %}
{%- block extrahead %} {% endblock %}
</head>
<body>
<div id="wrapper">
<div id="header">
<h1 id="h1title">Documentation</h1>
<div id="logo">
<a href="/">Doctrine - PHP Database Libraries</a> </div>
</div>
<div id="nav" class="cls">
<div class="tl cls">
<ul>
<li><a target="_top" href="/">home</a></li>
<li><a class="" target="_top" href="/about">about</a></li>
<li><a class="" target="_top" href="/projects">projects</a></li>
<li><a class="" target="_top" href="/projects/orm">orm</a></li>
<li><a class="" target="_top" href="/projects/dbal">dbal</a></li>
<li><a class="" target="_top" href="/blog">blog</a></li>
<li><a class="" target="_top" href="http://www.doctrine-project.org/jira">development</a></li>
<li><a class="" target="_top" href="/contribute">contribute</a></li>
<li><a class="" target="_top" href="/community">community</a></li>
<li><a class="" target="_top" href="http://wiki.doctrine-project.org">wiki</a></li>
</ul>
</div>
</div>
<div id="content" class="cls">
{%- block header %}{% endblock %}
{%- block relbar1 %}{{ relbar() }}{% endblock %}
{%- block sidebar1 %} {# possible location for sidebar #} {% endblock %}
<div class="document">
{%- block document %}
<div class="documentwrapper">
{%- if not embedded %}{% if not theme_nosidebar|tobool %}
<div class="bodywrapper">
{%- endif %}{% endif %}
<div class="body">
{% block body %} {% endblock %}
</div>
{%- if not embedded %}{% if not theme_nosidebar|tobool %}
</div>
{%- endif %}{% endif %}
</div>
{%- endblock %}
{%- block sidebar2 %}{{ sidebar() }}{% endblock %}
<div class="clearer"></div>
</div>
{%- block footer %}
<div class="footer">
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
{%- else %}
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
{%- endif %}
{%- if last_updated %}
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
{%- endif %}
{%- if show_sphinx %}
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
{%- endif %}
</div>
{%- endblock %}
</div>
<div id="bot-rcnr">
<div class="tl"><!-- corner --></div>
</div>
<div id="footer">
<br/>
<a target="_BLANK" href="http://www.servergrove.com"><img src="http://www.doctrine-project.org/images/servergrove.jpg" /></a> <br/><br/>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="BAE2E3XANQ77Y" />
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>
</div>
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-288343-7";
urchinTracker();
</script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment