Skip to content

Commit

Permalink
ReST doc: Put side bar on the right
Browse files Browse the repository at this point in the history
  • Loading branch information
aht committed Jan 14, 2010
1 parent 9ba6d7c commit 81d8285
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/haiku/layout.html
Expand Up @@ -32,7 +32,6 @@ <h2 class="heading"><span>{{ title|striptags }}</span></h2>
{%- endif %}
{%- endblock %}
</div>
{{ sidebar() }}
<div class="content">
{#{%- if display_toc %}
<div id="toc">
Expand All @@ -42,4 +41,5 @@ <h3>Table Of Contents</h3>
{%- endif %}#}
{% block body %}{% endblock %}
</div>
{{ sidebar() }}
{% endblock %}
8 changes: 4 additions & 4 deletions doc/haiku/static/haiku.css_t
Expand Up @@ -48,7 +48,7 @@ div.sphinxsidebar {
float: left;
display: inline;
position: relative;
width: 280px;
width: 360px;
margin: 0;
}

Expand Down Expand Up @@ -163,10 +163,10 @@ a.headerlink:hover {

div.content {
margin-top: 20px;
margin-left: 80px;
margin-right: 20px;
margin-bottom: 50px;
font-size: 0.9em;
width: 600px;
width: 580px;
display: inline;
float: left;
position: relative;
Expand Down Expand Up @@ -388,7 +388,7 @@ pre {
border-style: dotted;
border-width: thin;
margin: 0 0 12px 0;
padding: 0.75em 0.75em 0.75em 2em;
padding: 0.75em 0.5em 0.75em 1em;
background-color: #f0f0f0;
font-size: 0.85em;
}
Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Expand Up @@ -227,7 +227,7 @@ Accumulators
Curried version of the built-in :func:`min`.

>>> Stream([[13, 52], [28, 35], [42, 6]]) >> minimum(lambda v: v[0] + v[1])
[42, 6]
[42, 6]

.. function:: stream.reduce(function, initval=None)

Expand Down

0 comments on commit 81d8285

Please sign in to comment.