From 0badc057f44086f8d7e651c65a630c1d4faf4862 Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Fri, 30 Nov 2012 17:12:48 -0500 Subject: [PATCH 1/4] Fix wiki link and indenting for keyFile section --- source/administration/configuration.txt | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/source/administration/configuration.txt b/source/administration/configuration.txt index 54ad014b8d6..d90cfbd1490 100644 --- a/source/administration/configuration.txt +++ b/source/administration/configuration.txt @@ -143,9 +143,7 @@ Consider the following explanation for these configuration decisions: connecting over the ``localhost`` interface for the first time to create user credentials. -.. seealso:: The ":wiki:`Security and Authentication `" wiki page. - -.. STUB ":doc:`/administration/security`" +.. seealso:: :doc:`/administration/security` Replication and Sharding Configuration -------------------------------------- @@ -164,8 +162,7 @@ among all members of the set. Consider the following: Use descriptive names for sets. Once configured use the :program:`mongo` shell to add hosts to the replica set. -.. seealso:: ":ref:`Replica set reconfiguration - `. +.. seealso:: :ref:`Replica set reconfiguration `. To enable authentication for the :term:`replica set`, add the following option: @@ -176,13 +173,13 @@ following option: .. versionadded:: 1.8 for replica sets, and 1.9.1 for sharded replica sets. -Setting :setting:`keyFile` enables authentication and specifies a key -file for the replica set member use to when authenticating to each -other. The content of the key file is arbitrary, but must be the same -on all members of the :term:`replica set` and :program:`mongos` -instances that connect to the set. The keyfile must be less one -kilobyte in size and may only contain characters in the base64 set and -file must not have group or "world" permissions on UNIX systems. + Setting :setting:`keyFile` enables authentication and specifies a key + file for the replica set member use to when authenticating to each + other. The content of the key file is arbitrary, but must be the same + on all members of the :term:`replica set` and :program:`mongos` + instances that connect to the set. The keyfile must be less one + kilobyte in size and may only contain characters in the base64 set and + file must not have group or "world" permissions on UNIX systems. .. seealso:: The ":ref:`Replica set Reconfiguration ` section for information regarding the process for changing replica From 7eeb937d60940db298898976958db602a39b70ad Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Fri, 30 Nov 2012 17:13:28 -0500 Subject: [PATCH 2/4] DOCS-481 make headings more distinct --- themes/mongodb/static/mongodb-docs.css_t | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/themes/mongodb/static/mongodb-docs.css_t b/themes/mongodb/static/mongodb-docs.css_t index 90f41bb5cb3..59520149089 100644 --- a/themes/mongodb/static/mongodb-docs.css_t +++ b/themes/mongodb/static/mongodb-docs.css_t @@ -43,10 +43,13 @@ div.document { div.body { background-color: white; color: black; - padding: 0 30px 30px 30px; + /* padding: 0 30px 30px 30px; */ font-size: 100%; + } +div.body > div#cse-results + div.section {margin-left:2pc;} + div.footerX { color: white; width: 100%; @@ -314,7 +317,7 @@ div.viewcode-block:target { border-bottom: 1px solid #ac9; } -/* +/* p.first, p.last { margin-bottom: 0 !important; } @@ -327,10 +330,10 @@ table.docutils td { } table.docutils.field-list ul.first.last.simple>li { - padding-top: 1em; + padding-top: 1em; } table.docutils.field-list ul.first.last.simple>li>p { - padding-top: 1em; + padding-top: 1em; } div.highlight-javascript>div.highlight>pre>span.hll { @@ -711,8 +714,8 @@ div.section {cursor:default;} div#header-db {background-image: url(http://media.mongodb.org/back-header.png)} -/* -background-color: #f6f4cd; -- house nav style +/* +background-color: #f6f4cd; -- house nav style footer bg: #fdfcf7; font-size 80%; line-height:1.5em; color: #4c3a2c; logo: http://media.mongodb.org/logo-mongodb.png @@ -737,7 +740,10 @@ li > div.admonition {margin-left:0;} div#btnv {padding-top:3em} div#btnv ul#btnvl {display:block;width:66%;text-align:center;} div#btnv ul#btnvl li {display:inline;list-item-style:none;font-size:10pt;padding:1em; width:33%} -div#btnv ul#btnvl li#btnvup:before, +div#btnv ul#btnvl li#btnvup:before, div#btnv ul#btnvl li#btnvnx:before {content:" ";padding-left:1em;padding-right:1em;color:#c48c55} +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.0} From 86a72f8587cfa22e53028da15531010b11110b6c Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Fri, 30 Nov 2012 17:15:49 -0500 Subject: [PATCH 3/4] remove blank and commented out lines --- themes/mongodb/static/mongodb-docs.css_t | 2 -- 1 file changed, 2 deletions(-) diff --git a/themes/mongodb/static/mongodb-docs.css_t b/themes/mongodb/static/mongodb-docs.css_t index 59520149089..b820e18fe3c 100644 --- a/themes/mongodb/static/mongodb-docs.css_t +++ b/themes/mongodb/static/mongodb-docs.css_t @@ -43,9 +43,7 @@ div.document { div.body { background-color: white; color: black; - /* padding: 0 30px 30px 30px; */ font-size: 100%; - } div.body > div#cse-results + div.section {margin-left:2pc;} From 3c717c3598a32e20cdf70107ab306266714b95cb Mon Sep 17 00:00:00 2001 From: Ed Costello Date: Fri, 30 Nov 2012 17:53:27 -0500 Subject: [PATCH 4/4] DOCS-714 DOCS-701 center tables, fix css for code in tables, tweak lineheights --- themes/mongodb/static/mongodb-docs.css_t | 26 ++++++++++-------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/themes/mongodb/static/mongodb-docs.css_t b/themes/mongodb/static/mongodb-docs.css_t index b820e18fe3c..8bfe50e596f 100644 --- a/themes/mongodb/static/mongodb-docs.css_t +++ b/themes/mongodb/static/mongodb-docs.css_t @@ -48,17 +48,6 @@ div.body { div.body > div#cse-results + div.section {margin-left:2pc;} -div.footerX { - color: white; - width: 100%; - padding: 13px 0; - line-height:1.0; - margin:0; - text-align: center; - font-size: 75%; - border-top: 1px solid black; -} - div.footer { color:white; width:auto; @@ -226,10 +215,12 @@ a.headerlink:hover { color: white; } -div.body p, div.body dd, div.body li { +div.body p, div.body dd { line-height: 1.8; } +div.body li {line-height:1.5;} + div.admonition p.admonition-title + p { display: inline; } @@ -735,9 +726,10 @@ 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 ul#btnvl {display:block;width:66%;text-align:center;} -div#btnv ul#btnvl li {display:inline;list-item-style:none;font-size:10pt;padding:1em; width:33%} +div#btnv {padding-top: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;} div#btnv ul#btnvl li#btnvup:before, div#btnv ul#btnvl li#btnvnx:before {content:" ";padding-left:1em;padding-right:1em;color:#c48c55} @@ -745,3 +737,7 @@ 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.0} + +table.docutils {margin:auto} +table.docutils tbody tr td div.highlight pre {background-color:inherit;} +table.docutils > div.admonition-example {background-color:inherit;}