Skip to content

Commit 9c56c80

Browse files
author
Sam Kleinman
committed
theme: fixes and making the conf more useful
1 parent 208f4ae commit 9c56c80

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
source_suffix = '.txt'
4040

4141
master_doc = 'contents'
42-
project = u'MongoDB'
42+
project = u'MongoDB Manual'
4343
copyright = u'2011-' + meta['date'] + ', 10gen, Inc.'
4444
version = '2.2.2'
4545
release = version
@@ -73,7 +73,7 @@
7373

7474
html_theme = 'mongodb'
7575
html_theme_path = ['themes']
76-
html_title = project + ' Manual'
76+
html_title = project
7777
htmlhelp_basename = 'MongoDBdoc'
7878

7979
html_logo = ".static/logo-mongodb.png"
@@ -88,7 +88,7 @@
8888
html_show_sphinx = True
8989
html_show_copyright = True
9090

91-
manual_edition_path = 'http://docs.mongodb.org/' + meta['branch'] + '/' + project + '-Manual-' + meta['branch']
91+
manual_edition_path = 'http://docs.mongodb.org/' + meta['branch'] + '/MongoDB-Manual-' + meta['branch']
9292

9393
html_theme_options = {
9494
'branch': meta['branch'],
@@ -103,7 +103,7 @@
103103
}
104104

105105
html_sidebars = {
106-
'**': ['localtoc.html', 'pagenav.html', 'wikisidebar.html'],
106+
'**': ['pagenav.html', 'wikisidebar.html'],
107107
}
108108

109109
# -- Options for LaTeX output --------------------------------------------------

themes/mongodb/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<div class="related">
2424
<ul>
2525
<li class="right">| {{- githublink() -}} </li>
26-
<li class="right">| <a href="http://github.com/mongodb/docs" title="Fork the documentation on GitHub to contribute.">GitHub</a></li>
26+
<li class="right">| <a href="http://github.com/mongodb/{{theme_repo_name}}" title="Fork the documentation on GitHub to contribute.">GitHub</a></li>
2727
<li class="right"><a href="http://jira.mongodb.org/browse/{{ theme_jira_project }}" title="Open a case in Jira to report a problem with the documentation.">Jira</a></li>
2828
{%- if show_logo %}
2929
<li><p><a href="{{ pathto('index') }}"><img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/></p></li>

themes/mongodb/pagenav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
:license: BSD, see LICENSE for details.
1111
#}
1212

13-
<h3><a href="{{ pathto(master_doc) }}">{{ title }}</a>
13+
<h3><a href="{{ pathto(master_doc) }}">{{ project }}</a>
1414
<small>(<a href="{{ pathto('genindex') }}">{{ _('Index') }}</a>)</small>
1515
</h3>
1616

0 commit comments

Comments
 (0)