diff --git a/themes/mongodb/layout.html b/themes/mongodb/layout.html index d208a2075d1..61e36b960f0 100644 --- a/themes/mongodb/layout.html +++ b/themes/mongodb/layout.html @@ -1,12 +1,4 @@ -{# - basic/layout.html - ~~~~~~~~~~~~~~~~~ - - Master layout template for Sphinx themes. - - :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. - :license: BSD, see LICENSE for details. -#}{%- block doctype -%} +{%- block doctype -%} {%- endblock %} @@ -22,17 +14,13 @@ {%- else %} {%- set titlesuffix = "" %} {%- endif %} - {%- macro githublink() -%} -Edit this Page +Edit this Page {%- endmacro -%} - {%- macro jiralink() -%} https://jira.mongodb.org/secure/CreateIssueDetails!init.jspa?pid=10380&issuetype=4&priority=4&summary=Comment+on%3a+%22{{ pagename | escape }}%2Etxt%22 {%- endmacro -%} - {%- macro relbar(show_logo=True) %} - {%- endmacro %} - {%- macro sidebar() %} {%- if render_sidebar %}
@@ -84,7 +71,6 @@
{%- endif %} {%- endmacro %} - {%- macro script() %} - {%- for scriptfile in script_files %} - - {%- endfor %} + {%- for scriptfile in script_files %} +{% if scriptfile == '_static/jquery.js' %} + +{%- else -%} + +{%- endif -%} +{%- endfor %} {%- endmacro %} - {%- macro css() %} - - - {%- for cssfile in css_files %} - - {%- endfor %} -{%- endmacro %} - -{%- macro homenav() %} -
-
- -
-
-{%- endmacro %} - -{%- macro trymongo() %} - -{%- endmacro %} - + + +{%- for cssfile in css_files %} + +{%- endfor %} +{%- endmacro -%} - - {%- block htmltitle %} - {{ title|striptags|e }}{{ titlesuffix }} - {%- endblock %} - - - - - - {%- if pagename == 'index' %} - - {%- else %} - - {%- endif %} - + +{%- block htmltitle %} +{{ title|striptags|e }}{{ titlesuffix }} +{%- endblock %} + + + + +{%- if pagename == 'index' %} + +{%- else %} + +{%- endif -%} {{ metatags }} {{ css() }} {%- if not embedded %} @@ -174,36 +119,36 @@ {%- endblock -%} {%- if favicon %} - + {%- endif %} {%- endif %} {%- block linktags %} {%- if hasdoc('about') %} - + {%- endif %} {%- if hasdoc('genindex') %} - + {%- endif %} {%- if hasdoc('search') %} - + {%- endif %} {%- if hasdoc('copyright') %} - + {%- endif %} - + + {%- if parents %} - + {%- endif %} {%- if next %} - + {%- endif %} {%- if prev %} - + {%- endif %} {%- endblock %} {%- block extrahead %} {% endblock %} {%- block sitesearch %} - {%- endblock %} - - + + {%- block header %}
-
- -
+
+ +
-
- -
+
+ +
{%- endblock %} {%- block content %} - {%- block sidebar1 %} {# possible location for sidebar #} {% endblock %} -
- {%- block document %} -
- {%- if render_sidebar %} -
- {%- endif %} -
+{%- block sidebar1 %} {# possible location for sidebar #} {% endblock %} +
+{%- block document %} +
+{%- if render_sidebar %} +
+{%- endif %} +
- {% block body %} {% endblock %} -
- {%- if render_sidebar %} -
- {%- endif %} -
- {%- endblock %} - - {%- block sidebar2 %}{{ sidebar() }}{% endblock %} -
-
+{% block body %} {% endblock %} +
+{%- if render_sidebar %} +
+{%- endif %} +
+{%- endblock %} +{%- block sidebar2 %}{{ sidebar() }}{% endblock %} +
+
{%- endblock %} - {%- block footer %} - + +{%- endblock %} +{%- block marketosrc %} + {%- endblock %} - -{%- block analytics %} -{%- endblock %} +{%- endblock -%} {%- block marketo %} - - -{%- endblock %} +try { mktoMunchkin("017-HGS-593"); } catch(e) {} +{% endblock -%} {%- block jiracollector -%} - +window.ATL_JQ_PAGE_PROPS = { +"triggerFunction": function(showCollectorDialog) { +jQuery("#jirafeedback").click(function(e) {e.preventDefault();showCollectorDialog();}); +jQuery("#jirafooter").click(function(e) {e.preventDefault();showCollectorDialog();}); +}}; {%- endblock %} + - \ No newline at end of file + diff --git a/themes/mongodb/page.html b/themes/mongodb/page.html new file mode 100644 index 00000000000..9b2f00da818 --- /dev/null +++ b/themes/mongodb/page.html @@ -0,0 +1,13 @@ +{# + basic/page.html + ~~~~~~~~~~~~~~~ + + Master template for simple pages. + + :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +#} +{%- extends "layout.html" -%} +{% block body %} + {{ body }} +{% endblock %} diff --git a/themes/mongodb/theme.conf b/themes/mongodb/theme.conf index 0a731109d0d..59eaa9dd8fd 100644 --- a/themes/mongodb/theme.conf +++ b/themes/mongodb/theme.conf @@ -7,4 +7,4 @@ pygments_style = sphinx branch = BRANCH pdfpath = PDFPATH epubpath = EPUBPATH -manual_path = PATH \ No newline at end of file +manual_path = PATH