Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Theme tweaks to improve sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
labisso committed Aug 22, 2011
1 parent a862a59 commit 770bc89
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
19 changes: 12 additions & 7 deletions themes/nimbus-agogo/layout.html
Expand Up @@ -76,7 +76,7 @@ <h1><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a></h1>
{%- if not theme_nosidebar|tobool %}
<div class="sidebar">
{%- block sidebartoc %}
<h3>Contents</h3>
<h3>Page contents</h3>
{{ toc }}
{%- endblock %}

Expand All @@ -93,12 +93,17 @@ <h3>Browse</h3>
<h3>You are here:</h3>
<ul>
<li>
<a href="{{ pathto('index') }}">{{ docstitle }}</a>
{% for p in parents %}
<ul><li><a href="{{ p.link }}">{{ p.title }}</a>
{% endfor %}
<ul><li>{{ title }}</li></ul>
{% for p in parents %}</li></ul>{% endfor %}
<a href="/doc/nimbus">Nimbus Documentation</a>
</li>
<li>
<ul><li>
<a href="{{ pathto('index') }}">{{ docstitle }}</a>
{% for p in parents %}
<ul><li><a href="{{ p.link }}">{{ p.title }}</a>
{% endfor %}
<ul><li>{{ title }}</li></ul>
{% for p in parents %}</li></ul>{% endfor %}
</li></ul>
</li>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion themes/nimbus-agogo/static/doc.css_t
Expand Up @@ -7,9 +7,9 @@
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/

@import url("basic.css");
*/

div.header, div.doccontent, div.footer {
width: {{ theme_pagewidth }};
Expand Down

0 comments on commit 770bc89

Please sign in to comment.