Commit 228213ba authored by Benjamin Eberlei's avatar Benjamin Eberlei

Move docs to sphinx theme

parent f61d4174
en/_exts/configurationblock.pyc
build
\ No newline at end of file
build
en/_build
[submodule "en/_theme"]
path = en/_theme
url = https://github.com/doctrine/doctrine-sphinx-theme.git
File mode changed from 100755 to 100644
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');
});
});
This diff is collapsed.
.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
This diff is collapsed.
Subproject commit e0bbe47f444a68e2a37a442dd1e2a07c9d31dd5b
......@@ -93,7 +93,7 @@ highlight_language = 'php'
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
html_theme = 'default'
html_theme = 'doctrine'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
......@@ -101,7 +101,7 @@ html_theme = 'default'
#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
html_theme_path = ['_theme']
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
......
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