|
1 |
| -{# |
2 |
| - cat basic/sourcelink.html basic/relations.html |
3 |
| - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
4 |
| - |
5 |
| - Sphinx sidebar template: "show source" link. |
6 |
| - |
7 |
| - Sphinx sidebar template: relation links. |
8 |
| - |
9 |
| - :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. |
10 |
| - :license: BSD, see LICENSE for details. |
11 |
| -#} |
12 |
| - |
13 | 1 | <h3><a href="{{ pathto(master_doc) }}">{{ project }}</a>
|
14 |
| -<small>(<a href="{{ pathto('genindex') }}">{{ _('Index') }}</a>)</small> |
| 2 | +{% if theme_project != 'about' %} |
| 3 | +<small><a href="{{ pathto('genindex') }}">{{ _('(Index)') }}</a></small> |
| 4 | +{% endif %} |
15 | 5 | </h3>
|
16 | 6 |
|
17 | 7 | {{ toctree(maxdepth=-1) }}
|
18 |
| - |
19 |
| -{%- if theme_is_manual %} |
20 |
| -{%- if project != 'ecosystem' %} |
21 |
| -<h3>{{ _('Formats') }}</h3> |
22 |
| -<ul class="this-page-menu"> |
23 |
| - {%- if show_source and has_source and sourcename %} |
24 |
| - <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">{{ _("This Page's Source") }}</a></li> |
25 |
| - {%- endif %} |
26 |
| - <li><a href="/{{ theme_manual_path }}/single/">{{ _('MongoDB Manual, Single HTML Page') }}</a></li> |
27 |
| - <li><a href="{{ theme_pdfpath }}" rel="nofollow">{{ _('MongoDB Manual, PDF Format') }}</a></li> |
28 |
| - <li><a href="{{ theme_epubpath }}" rel="nofollow">{{ _('MongoDB Manual, ePub Format') }}</a></li> |
29 |
| -</ul> |
30 |
| -{%- endif %} |
31 |
| -{%- endif %} |
32 |
| - |
33 |
| -{%- if theme_is_manual %} |
34 |
| -{%- else %} |
35 |
| -<h3 style="padding-bottom: 1em;"><a href="http://docs.mongodb.org/manual/">MongoDB Manual</a></h3> |
36 |
| -{%- endif %} |
37 |
| - |
38 |
| -<h3>Translations</h3> |
39 |
| -<ul class="translation-menu"> |
40 |
| -{%- if theme_is_manual %} |
41 |
| - <li><a href="http://jp.docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">Japanese</a></li> |
42 |
| - <li><a href="http://cn.docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">Chinese</a></li> |
43 |
| - <!-- <li><a href="http://docs.mongodb.org/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">English</a></li> --> |
44 |
| -{%- elif theme_project == 'ecosystem' %} |
45 |
| - <li><a href="http://jp.docs.mongodb.org/{{theme_project}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">Japanese</a></li> |
46 |
| - <li><a href="http://cn.docs.mongodb.org/{{theme_project}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">Chinese</a></li> |
47 |
| - <!-- <li><a href="http://docs.mongodb.org/{{theme_project}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">English</a></li> --> |
48 |
| -{%- else %} |
49 |
| - <li><a href="http://jp.docs.mongodb.org/{{theme_project}}/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">Japanese</a></li> |
50 |
| - <li><a href="http://cn.docs.mongodb.org/{{theme_project}}/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">Chinese</a></li> |
51 |
| - <!-- <li><a href="http://docs.mongodb.org/{{theme_project}}/{{theme_manual_path}}/{%- if pagename == "index" %}{%- else %}{{pagename}}{%- endif %}" rel="nofollow">English</a></li> --> |
52 |
| -{%- endif %} |
53 |
| -</ul> |
0 commit comments