Skip to content

theme: nav revision #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 7, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions source/applications.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ Application Development

.. _aggregation-framework:

Aggregation Framework
---------------------

.. versionadded:: 2.1
Aggregation
-----------

.. toctree::
:maxdepth: 3
Expand Down
9 changes: 0 additions & 9 deletions themes/mongodb/localtoc.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,3 @@
:license: BSD, see LICENSE for details.
#}

{%- if pagename != "search" %}
<h3>{{ _('Contents') }}</h3>
{{ toc }}
{% endif %}

<ul class="this-page-menu">
{%- if prev %}<li><strong>Previous:</strong> <a href="{{ prev.link|e }}" title="{{ _('previous chapter') }}">{{ prev.title }}</a></li>{%- endif %}
{%- if next %}<li><strong>Next:</strong> <a href="{{ next.link|e }}" title="{{ _('next chapter') }}">{{ next.title }}</a></li>{%- endif %}
</ul>
14 changes: 8 additions & 6 deletions themes/mongodb/pagenav.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
:copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
#}
<h3>{{ _('Manual') }}</h3>
{{ toctree(maxdepth=1) }}
<h3><a href="{{ pathto(master_doc) }}">{{ _('Contents') }}</a></h3>

{{ toctree(maxdepth=-1) }}

<ul class="this-page-menu">
<li><strong>Home:</strong> <a href="{{ pathto('index') }}">{{ project|e }} Manual Home</a></li>
<li><strong>Contents:</strong> <a href="{{ pathto(master_doc) }}">{{ project|e }} Manual Contents</a></li>
<li><strong>Index:</strong> <a href="{{ pathto('genindex') }}">{{ project|e }} Manual Index</a></li>
{%- if prev %}<li><strong>Previous:</strong> <a href="{{ prev.link|e }}" title="{{ _('previous chapter') }}">{{ prev.title }}</a></li>{%- endif %}
{%- if next %}<li><strong>Next:</strong> <a href="{{ next.link|e }}" title="{{ _('next chapter') }}">{{ next.title }}</a></li>{%- endif %}
</ul>

<div id="searchbox" style="display: none">
<h3>{{ _('Search') }}</h3>
<p class="searchtip">{{ _('Search <strong>this</strong> manual.') }}
Expand Down Expand Up @@ -49,7 +51,7 @@ <h3>Translations</h3>
<ul class="translation-menu">
<li><a href="http://jp.docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">Japanese</a></li>
<li><a href="http://cn.docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">Chinese</a></li>
<li><a href="http://docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">English</a></li>
<!-- <li><a href="http://docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">English</a></li> -->
</ul>

<h3>Knowledge Base </h3>
Expand Down
8 changes: 6 additions & 2 deletions themes/mongodb/static/mongodb-docs.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ div.sphinxsidebar p.topless {
}

div.sphinxsidebar ul ul, div.sphinxsidebar ul.want-points {
list-style: square outside none;
margin-left: 15px;
list-style: none outside none;
margin-left: 10px;
}

div.sphinxsidebar ul {
Expand Down Expand Up @@ -298,3 +298,7 @@ p.first {
margin-bottom: 0px !important;
margin-top: 10px !important;
}

div.sphinxsidebar ul.current a.current {
font-weight: bold;
}