From b14cad7a45bbd9dc05cc12d5f6f273f046734e93 Mon Sep 17 00:00:00 2001 From: kay Date: Thu, 25 Apr 2013 13:15:58 -0400 Subject: [PATCH] update css --- source/reference/command/group.txt | 22 +++++++++---------- .../reference/method/db.collection.group.txt | 21 +++++++++--------- themes/mongodb/static/mongodb-docs.css_t | 6 ++++- 3 files changed, 26 insertions(+), 23 deletions(-) diff --git a/source/reference/command/group.txt b/source/reference/command/group.txt index 79002a2ed41..bdc457f2189 100644 --- a/source/reference/command/group.txt +++ b/source/reference/command/group.txt @@ -68,12 +68,10 @@ group .. warning:: - The :dbcommand:`group` command does not work with :term:`sharded - clusters `. Use the :term:`aggregation - framework` or :term:`map-reduce` in :term:`sharded environments - `. - - .. note:: + - The :dbcommand:`group` command does not work with + :term:`sharded clusters `. Use the + :term:`aggregation framework` or :term:`map-reduce` in + :term:`sharded environments `. - The result set must fit within the :ref:`maximum BSON document size `. @@ -84,16 +82,18 @@ group groupings, use :dbcommand:`mapReduce`. Previous versions had a limit of 10,000 elements. + - Prior to 2.4, the :dbcommand:`group` command took the + :program:`mongod` instance's JavaScript lock which blocked + all other JavaScript execution. + + .. note:: + .. putting the blank line between the version changed directive since the directive cannot seem to handle the include or the list at all .. versionchanged:: 2.4 - - .. include:: /includes/fact-group-map-reduce-where-limitations-in-24.rst - - - Prior to 2.4, the :dbcommand:`group` command took the - :program:`mongod` instance's JavaScript lock, which blocked - all other JavaScript execution. + .. include:: /includes/fact-group-map-reduce-where-limitations-in-24.rst For the shell, MongoDB provides a wrapper method :method:`db.collection.group()`; however, the diff --git a/source/reference/method/db.collection.group.txt b/source/reference/method/db.collection.group.txt index f9ba5a1c6c4..08e5256105c 100644 --- a/source/reference/method/db.collection.group.txt +++ b/source/reference/method/db.collection.group.txt @@ -52,30 +52,29 @@ db.collection.group() .. warning:: - The :method:`db.collection.group()` method does not work with - :term:`sharded clusters `. Use the - :term:`aggregation framework` or :term:`map-reduce` in - :term:`sharded environments `. + - The :method:`db.collection.group()` method does not work with + :term:`sharded clusters `. Use the + :term:`aggregation framework` or :term:`map-reduce` in + :term:`sharded environments `. - .. note:: - - The result set must fit within the :ref:`maximum BSON document size `. - + - In version 2.2, the returned array can contain at most 20,000 elements; i.e. at most 20,000 unique groupings. For group by operations that results in more than 20,000 unique groupings, use :dbcommand:`mapReduce`. Previous versions had a limit of 10,000 elements. - .. versionchanged:: 2.4 - - - .. include:: /includes/fact-group-map-reduce-where-limitations-in-24.rst - - Prior to 2.4, the :method:`db.collection.group()` method took the :program:`mongod` instance's JavaScript lock, which blocked all other JavaScript execution. + .. note:: + .. versionchanged:: 2.4 + + .. include:: /includes/fact-group-map-reduce-where-limitations-in-24.rst + Consider the following examples of the :method:`db.collection.group()` method: The examples assume an ``orders`` collection with documents of the diff --git a/themes/mongodb/static/mongodb-docs.css_t b/themes/mongodb/static/mongodb-docs.css_t index 4f0f34cc5f8..d7b4877a45a 100644 --- a/themes/mongodb/static/mongodb-docs.css_t +++ b/themes/mongodb/static/mongodb-docs.css_t @@ -243,7 +243,8 @@ div.seealso { } div.warning { - background-color: #FEEFB3; + background-color: #eebbaa; + border: 1px solid #cd0a0a; padding:.5em 1em; } @@ -800,6 +801,9 @@ div#btnv ul#btnvl { text-align: center; } +div.admonition.note table.docutils tr:last-child td { + border-bottom: 0; +} /* div#btnv ul#btnvl li { border-top: solid 1pt #402817; } div#btnv ul#btnvl li { border-bottom: solid 1pt #402817; }