Skip to content

Commit cb13548

Browse files
author
Sam Kleinman
committed
merge: DOCS-360 nav update
2 parents fe99bd7 + 66f8afb commit cb13548

File tree

4 files changed

+16
-21
lines changed

4 files changed

+16
-21
lines changed

source/applications.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ Application Development
4242

4343
.. _aggregation-framework:
4444

45-
Aggregation Framework
46-
---------------------
47-
48-
.. versionadded:: 2.1
45+
Aggregation
46+
-----------
4947

5048
.. toctree::
5149
:maxdepth: 3

themes/mongodb/localtoc.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,3 @@
88
:license: BSD, see LICENSE for details.
99
#}
1010

11-
{%- if pagename != "search" %}
12-
<h3>{{ _('Contents') }}</h3>
13-
{{ toc }}
14-
{% endif %}
15-
16-
<ul class="this-page-menu">
17-
{%- if prev %}<li><strong>Previous:</strong> <a href="{{ prev.link|e }}" title="{{ _('previous chapter') }}">{{ prev.title }}</a></li>{%- endif %}
18-
{%- if next %}<li><strong>Next:</strong> <a href="{{ next.link|e }}" title="{{ _('next chapter') }}">{{ next.title }}</a></li>{%- endif %}
19-
</ul>

themes/mongodb/pagenav.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
:copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
1010
:license: BSD, see LICENSE for details.
1111
#}
12-
<h3>{{ _('Manual') }}</h3>
13-
{{ toctree(maxdepth=1) }}
12+
<h3><a href="{{ pathto(master_doc) }}">{{ _('Contents') }}</a></h3>
13+
14+
{{ toctree(maxdepth=-1) }}
15+
1416
<ul class="this-page-menu">
15-
<li><strong>Home:</strong> <a href="{{ pathto('index') }}">{{ project|e }} Manual Home</a></li>
16-
<li><strong>Contents:</strong> <a href="{{ pathto(master_doc) }}">{{ project|e }} Manual Contents</a></li>
17-
<li><strong>Index:</strong> <a href="{{ pathto('genindex') }}">{{ project|e }} Manual Index</a></li>
17+
{%- if prev %}<li><strong>Previous:</strong> <a href="{{ prev.link|e }}" title="{{ _('previous chapter') }}">{{ prev.title }}</a></li>{%- endif %}
18+
{%- if next %}<li><strong>Next:</strong> <a href="{{ next.link|e }}" title="{{ _('next chapter') }}">{{ next.title }}</a></li>{%- endif %}
1819
</ul>
20+
1921
<div id="searchbox" style="display: none">
2022
<h3>{{ _('Search') }}</h3>
2123
<p class="searchtip">{{ _('Search <strong>this</strong> manual.') }}
@@ -49,7 +51,7 @@ <h3>Translations</h3>
4951
<ul class="translation-menu">
5052
<li><a href="http://jp.docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">Japanese</a></li>
5153
<li><a href="http://cn.docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">Chinese</a></li>
52-
<li><a href="http://docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">English</a></li>
54+
<!-- <li><a href="http://docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">English</a></li> -->
5355
</ul>
5456

5557
<h3>Knowledge Base </h3>

themes/mongodb/static/mongodb-docs.css_t

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ div.sphinxsidebar p.topless {
126126
}
127127

128128
div.sphinxsidebar ul ul, div.sphinxsidebar ul.want-points {
129-
list-style: square outside none;
130-
margin-left: 15px;
129+
list-style: none outside none;
130+
margin-left: 10px;
131131
}
132132

133133
div.sphinxsidebar ul {
@@ -298,3 +298,7 @@ p.first {
298298
margin-bottom: 0px !important;
299299
margin-top: 10px !important;
300300
}
301+
302+
div.sphinxsidebar ul.current a.current {
303+
font-weight: bold;
304+
}

0 commit comments

Comments
 (0)