diff --git a/source/core/object-id.txt b/source/core/object-id.txt index e760ea8294c..a5cac1b49e7 100644 --- a/source/core/object-id.txt +++ b/source/core/object-id.txt @@ -36,8 +36,8 @@ information on MongoDB's document orientation. .. _core-object-id-class: -``ObjectId()`` --------------- +ObjectId() +---------- The :program:`mongo` shell provides the ``ObjectId()`` wrapper class to generate can generate a new ObjectId, and to provide the following diff --git a/source/reference/method/cursor.readPref.txt b/source/reference/method/cursor.readPref.txt index 89f10c22ae4..ff473e8d7e9 100644 --- a/source/reference/method/cursor.readPref.txt +++ b/source/reference/method/cursor.readPref.txt @@ -27,7 +27,7 @@ cursor.readPref() ``{ dc: 'ny', rack: 2 }``. Clients match tag sets first in the order they appear in the read preference specification. You may specify an empty tag set ``{}`` as the last element to default to - any available secondary. See the:ref:`tag sets ` + any available secondary. See the :ref:`tag sets ` documentation for more information. .. note:: diff --git a/source/reference/method/db.currentOp.txt b/source/reference/method/db.currentOp.txt index c8d7975c934..5f79e183665 100644 --- a/source/reference/method/db.currentOp.txt +++ b/source/reference/method/db.currentOp.txt @@ -22,4 +22,4 @@ db.currentOp() .. include:: /includes/example-filter-current-op.rst - .. warning:: /includes/warning-terminating-operations.rst + .. include:: /includes/warning-terminating-operations.rst diff --git a/themes/mongodb/layout.html b/themes/mongodb/layout.html index b3e90cee36f..15014705c8a 100644 --- a/themes/mongodb/layout.html +++ b/themes/mongodb/layout.html @@ -100,13 +100,13 @@ diff --git a/themes/mongodb/static/mongodb-docs.css_t b/themes/mongodb/static/mongodb-docs.css_t index 9defc69e508..d6a46595c0a 100644 --- a/themes/mongodb/static/mongodb-docs.css_t +++ b/themes/mongodb/static/mongodb-docs.css_t @@ -47,6 +47,8 @@ div.body { } div.body > div#cse-results + div.section {margin-left:2pc;} +div.body > div#cse-results + span.target + div.section {margin-left:2pc;} +div.body > div#cse-results + span.target + span.target+ div.section {margin-left:2pc;} div.footer { color:white; @@ -201,7 +203,7 @@ div.body h1 + dl, div.body h2 + dl, div.body h3 + dl, div.body h4 + dl {padding div.section h1 + p, div.section h2 + p, div.section h3 + p, div.section h4 + p, div.section h1 + ul, div.section h2 + ul, div.section h3 + ul, div.section h4 + ul, -div.section h1 + dl, div.section h2 + dl, div.section h3 + dl, div.section h4 + dl {padding-top:0;margin-top:0ex;text-indent:0;} +div.section h1 + dl, div.section h2 + dl, div.section h3 + dl, div.section h4 + dl {padding-top:0;margin-top:1.05em;text-indent:0;} a.headerlink { color: #c60f0f; @@ -219,7 +221,7 @@ div.body p, div.body dd { line-height: 1.8; } -div.body li{line-height:1.55em;} +div.body li{line-height: 1.4em;} div.admonition p.admonition-title + p { display: inline; @@ -240,34 +242,37 @@ div.topic { div.admonition { margin:1.5em auto; width:auto; - max-width:80%; + max-width:90%; padding:0; } div.warning { - background-color: #ffff66; + background-color: #FEEFB3; padding:1ex; } - div.note { background-color: inherit; + border: 1px solid #DCDCDC; + padding:1ex; } div.seealso { padding-bottom: 7px; + max-width:95%; } div.admonition-optional { - background-color: #ffffee; - color: #666666; - margin: 10px 25px; + background-color: inherit; + border: 1px solid #DCDCDC; + padding:1ex; } div.admonition-example { - background-color: #ecf0f3; + background-color: #eff0f3; color: #000000; + padding:1ex; } div.admonition p.admonition-title {display:inline; font-weight:900;height:100%;} @@ -291,11 +296,14 @@ pre { } tt { - background-color: #ecf0f3; + background-color: #eff0f3; color: #000; font-family: "Courier New", Courier, monospace; } +a>tt { + color: #005B81; +} .viewcode-back { font-family: helvetica,arial,sans-serif; } @@ -332,6 +340,13 @@ div.highlight-javascript>div.highlight>pre>span.hll>span.nx { font-weight: bold; } +table.footnote { + font-size: 0.95em; + line-height: 1.3em; +} + + + /* No Longer just Specific to the SQL to ... Mapping pages -- Begin */ div td pre { @@ -697,7 +712,14 @@ div#etp ul li:first-child:before {content:"";} input.gsc-input {background:none;background-color: #4c3a2c;} a.reference em {font-style:normal;} -tt,tt span.pre {font-family:"Courier New", "Courier",monospace; ;} +tt,tt span.pre { + font-family:"Courier New", Courier, monospace; + font-weight: bold; + font-size: 0.98em; +} +tt.descname { + font-size: 1.15em; +} div.section > h1 + dl.dbcommand > dt {display:none;} div.section {cursor:default;} @@ -717,8 +739,9 @@ header: http://media.mongodb.org/back-header.png /* div.body * {font-size:12pt;font-family:Helvetica,Arial,Sans-Serif;font-weight:normal;line-height:1.0;} */ /* div.body p {line-height:1.6875;} */ -div.body p {line-height:1.55em;} -div.highlight pre {background-color: #ecf0f3;} +div.body p {line-height:1.4em;} +div.body li>p { line-height:1.4em;} +div.highlight pre {background-color: #eff0f3;} div.section > h2, div.section > h3,div.section > h4 {margin-top:0;padding-top:0;line-height:1.77} /* div.admonition p {line-height:1.6875} */ @@ -728,7 +751,7 @@ dd > div.admonition {margin-left:0;} p > div.admonition {margin-left:0;} li > div.admonition {margin-left:0;} -div#btnv {padding-top:3em;} +div#btnv {padding-top:3em;padding-bottom:3em;} div#btnv ul#btnvl {display:block;width:auto;margin:auto;;text-align:center;} /* div#btnv ul#btnvl li {border-top:solid 1pt #402817;} div#btnv ul#btnvl li {border-bottom:solid 1pt #402817;} */ div#btnv ul#btnvl li {display:inline;list-item-style:none;font-size:100%;padding:1em; width:33%;margin:0;} @@ -740,6 +763,9 @@ div.body > div.section > div.section {margin-left:0;margin-top:2em;} div.body > div.section > div.section div.section {margin-left:2pc;margin-right:2pc;} /* div.section h2 {line-height:1; margin-bottom: 0.3;} */ -table.docutils {margin:auto} +table.docutils {margin-top: 1.1em;margin-bottom: 1.1em; } table.docutils tbody tr td div.highlight pre {background-color:inherit;} -table.docutils > div.admonition-example {background-color:inherit;} \ No newline at end of file +table.docutils > div.admonition-example {background-color:inherit;} + +/* somehow, powershell commands starting with a directory reference does not include a div.highlight */ +div.highlight-powershell pre {background-color: #eff0f3;}