summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Rassi <rassi@10gen.com>2013-02-25 19:54:19 -0500
committerJason Rassi <rassi@10gen.com>2013-03-01 15:52:09 -0500
commit23fc55ca33aa4e00b300824165466e4febe67f6d (patch)
treefad28c289624ba32fa360529f900d9cc7ba2ef29
parent117f00f4d7bef6385cca2761c3b4cc56ead34144 (diff)
downloadmongo-23fc55ca33aa4e00b300824165466e4febe67f6d.tar.gz
SERVER-8674 Update hyperlinks to point to dochub
-rw-r--r--CONTRIBUTING.rst4
-rw-r--r--debian/bsondump.13
-rw-r--r--debian/init.d2
-rw-r--r--debian/mongo.12
-rw-r--r--debian/mongod.12
-rw-r--r--debian/mongodump.12
-rw-r--r--debian/mongoexport.12
-rw-r--r--debian/mongofiles.12
-rw-r--r--debian/mongoimport.12
-rw-r--r--debian/mongorestore.12
-rw-r--r--debian/mongos.13
-rw-r--r--debian/mongosniff.12
-rw-r--r--debian/mongostat.13
-rw-r--r--jstests/updatel.js2
-rw-r--r--src/mongo/bson/oid.h2
-rw-r--r--src/mongo/client/simple_client_demo.cpp2
-rw-r--r--src/mongo/db/db.cpp4
-rw-r--r--src/mongo/db/geo/haystack.cpp2
-rw-r--r--src/mongo/db/json.h8
-rw-r--r--src/mongo/db/stats/snapshots.cpp2
-rw-r--r--src/mongo/s/config_upgrade_v3_to_v4.cpp4
-rw-r--r--src/mongo/util/version.cpp2
22 files changed, 28 insertions, 31 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index bbaa2e90ede..e0b7e945de6 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -51,8 +51,8 @@ not covered in this document you should default to the `Google CPP Style Guide`_
Your commit message should also be prefaced with the relevant JIRA ticket, e.g. "SERVER-XXX Fixed
a bug in aggregation".
-.. _kernel development rules: http://www.mongodb.org/display/DOCS/MongoDB+kernel+code+development+rules
-.. _Kernel Code Style guidelines: http://www.mongodb.org/display/DOCS/Kernel+code+style
+.. _kernel development rules: http://dochub.mongodb.org/core/kernelcodedevelopmentrules
+.. _Kernel Code Style guidelines: http://dochub.mongodb.org/core/kernelcodestyle
.. _Google CPP Style Guide: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
.. _Google JavaScript Style Guide: http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml
diff --git a/debian/bsondump.1 b/debian/bsondump.1
index 4041bdc9419..20464719bd0 100644
--- a/debian/bsondump.1
+++ b/debian/bsondump.1
@@ -27,5 +27,4 @@ type of output: json,debug
.PP
Copyright 2011 10gen
.SH "SEE ALSO"
-For more information, please refer to the MongoDB manual, available at
-http://www.mongodb.org.
+For more information, please refer to the bsondump page in the MongoDB manual, available at http://dochub.mongodb.org/core/bsondumpmanpage
diff --git a/debian/init.d b/debian/init.d
index 7e5169d8dde..c98038220d0 100644
--- a/debian/init.d
+++ b/debian/init.d
@@ -53,7 +53,7 @@ DESC=database
NAME=mongodb
# Defaults. Can be overridden by the /etc/default/$NAME
# Other configuration options are located in $CONF file. See here for more:
-# http://docs.mongodb.org/manual/reference/configuration-options/
+# http://dochub.mongodb.org/core/configurationoptions
CONF=/etc/mongodb.conf
PIDFILE=/var/run/$NAME.pid
ENABLE_MONGODB=yes
diff --git a/debian/mongo.1 b/debian/mongo.1
index 7e91707f3ff..04f35a5afe7 100644
--- a/debian/mongo.1
+++ b/debian/mongo.1
@@ -71,6 +71,6 @@ specify password of user
.PP
Copyright 2007\-2011 10gen
.SH "SEE ALSO"
-For more information, please refer to the MongoDB manual, available at http://www.mongodb.org.
+For more information, please refer to the mongo page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongomanpage
.SH "AUTHOR"
Kristina Chodorow
diff --git a/debian/mongod.1 b/debian/mongod.1
index 01d854b2544..a4563b7c739 100644
--- a/debian/mongod.1
+++ b/debian/mongod.1
@@ -11,6 +11,6 @@ is a core MongoDB daemon. You are not supposed to call it directly, please refer
.PP
Copyright 2007\-2009 10gen
.SH "SEE ALSO"
-For more information, please refer to the MongoDB manual, available at http://www.mongodb.org.
+For more information, please refer to the mongod page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongodmanpage
.SH "AUTHOR"
Antonin Kral
diff --git a/debian/mongodump.1 b/debian/mongodump.1
index ae0d7728b75..dc95440baa6 100644
--- a/debian/mongodump.1
+++ b/debian/mongodump.1
@@ -57,6 +57,6 @@ try to recover a crashed database (needs \-\-dbpath)
.PP
Copyright 2007\-2011 10gen
.SH "SEE ALSO"
-For more information, please refer to the MongoDB manual, available at http://www.mongodb.org.
+For more information, please refer to the mongodump page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongodumpmanpage
.SH "AUTHOR"
Kristina Chodorow
diff --git a/debian/mongoexport.1 b/debian/mongoexport.1
index 2c844ae83f3..d702671102b 100644
--- a/debian/mongoexport.1
+++ b/debian/mongoexport.1
@@ -70,6 +70,6 @@ output file, if not specified, stdout is used
.PP
Copyright 2007\-2011 10gen
.SH "SEE ALSO"
-For more information, please refer to the MongoDB manual, available at http://www.mongodb.org.
+For more information, please refer to the mongoexport page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongoexportmanpage
.SH "AUTHOR"
Kristina Chodorow
diff --git a/debian/mongofiles.1 b/debian/mongofiles.1
index 412a4be4f67..31b99d73ea1 100644
--- a/debian/mongofiles.1
+++ b/debian/mongofiles.1
@@ -89,6 +89,6 @@ Remove other files with the same name after PUT
.PP
Copyright 2007\-2011 10gen
.SH "SEE ALSO"
-For more information, please refer to the MongoDB manual, available at http://www.mongodb.org.
+For more information, please refer to the mongofiles page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongofilesmanpage
.SH "AUTHOR"
Kristina Chodorow
diff --git a/debian/mongoimport.1 b/debian/mongoimport.1
index 6879b99577d..15d6fc7ee36 100644
--- a/debian/mongoimport.1
+++ b/debian/mongoimport.1
@@ -87,6 +87,6 @@ load a json array, not one item per line. Currently limited to 16MB.
.PP
Copyright 2007\-2011 10gen
.SH "SEE ALSO"
-For more information, please refer to the MongoDB manual, available at http://www.mongodb.org.
+For more information, please refer to the mongoimport page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongoimportmanpage
.SH "AUTHOR"
Kristina Chodorow
diff --git a/debian/mongorestore.1 b/debian/mongorestore.1
index df5080f9669..62eca0c1dc3 100644
--- a/debian/mongorestore.1
+++ b/debian/mongorestore.1
@@ -57,6 +57,6 @@ replay oplog for point-in-time restore
.PP
Copyright 2007\-2011 10gen
.SH "SEE ALSO"
-For more information, please refer to the MongoDB manual, available at http://www.mongodb.org.
+For more information, please refer to the mongorestore page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongorestoremanpage
.SH "AUTHOR"
Kristina Chodorow
diff --git a/debian/mongos.1 b/debian/mongos.1
index 37b0b340f86..6fdca07463b 100644
--- a/debian/mongos.1
+++ b/debian/mongos.1
@@ -84,7 +84,6 @@ allow JSONP access via http (has security implications)
.PP
Copyright 2007\-2011 10gen
.SH "SEE ALSO"
-For more information, please refer to the MongoDB manual, available at
-http://www.mongodb.org.
+For more information, please refer to the mongos page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongosmanpage
.SH "AUTHOR"
Kristina Chodorow
diff --git a/debian/mongosniff.1 b/debian/mongosniff.1
index 7d92dcfa0b6..e1b9a1faddf 100644
--- a/debian/mongosniff.1
+++ b/debian/mongosniff.1
@@ -28,6 +28,6 @@ show usage information
.PP
Copyright 2007\-2011 10gen
.SH "SEE ALSO"
-For more information, please refer to the MongoDB manual, available at http://www.mongodb.org.
+For more information, please refer to the mongosniff page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongosniffmanpage
.SH "AUTHOR"
Antonin Kral
diff --git a/debian/mongostat.1 b/debian/mongostat.1
index 87b53ad4153..06e43338a6c 100644
--- a/debian/mongostat.1
+++ b/debian/mongostat.1
@@ -108,7 +108,6 @@ number of open connections
.PP
Copyright 2011 10gen
.SH "SEE ALSO"
-For more information, please refer to the MongoDB manual, available at
-http://www.mongodb.org.
+For more information, please refer to the mongostat page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongostatmanpage
.SH "AUTHOR"
Eliot Horowitz
diff --git a/jstests/updatel.js b/jstests/updatel.js
index b4a80061a2b..2a5d4be082e 100644
--- a/jstests/updatel.js
+++ b/jstests/updatel.js
@@ -1,6 +1,6 @@
// The positional operator allows an update modifier field path to contain a sentinel ('$') path
// part that is replaced with the numeric position of an array element matched by the update's query
-// spec. <http://docs.mongodb.org/manual/reference/operators/#_S_>
+// spec. <http://dochub.mongodb.org/core/positionaloperator>
// If no array element position from a query is available to substitute for the positional operator
// setinel ('$'), the update fails with an error. SERVER-6669 SERVER-4713
diff --git a/src/mongo/bson/oid.h b/src/mongo/bson/oid.h
index c9c5c31b3b1..8b5f3ba18c8 100644
--- a/src/mongo/bson/oid.h
+++ b/src/mongo/bson/oid.h
@@ -147,7 +147,7 @@ namespace mongo {
inline StringBuilder& operator<< (StringBuilder& s, const OID& o) { return (s << o.str()); }
/** Formatting mode for generating JSON from BSON.
- See <http://mongodb.onconfluence.com/display/DOCS/Mongo+Extended+JSON>
+ See <http://dochub.mongodb.org/core/mongodbextendedjson>
for details.
*/
enum JsonStringFormat {
diff --git a/src/mongo/client/simple_client_demo.cpp b/src/mongo/client/simple_client_demo.cpp
index b386863b1d4..51b370ab2d3 100644
--- a/src/mongo/client/simple_client_demo.cpp
+++ b/src/mongo/client/simple_client_demo.cpp
@@ -15,7 +15,7 @@
/* simple_client_demo.cpp
- See also : http://www.mongodb.org/pages/viewpage.action?pageId=133415
+ See also : http://dochub.mongodb.org/core/cppdrivertutorial
How to build and run:
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp
index 8e3ef65c363..4693bb5c27e 100644
--- a/src/mongo/db/db.cpp
+++ b/src/mongo/db/db.cpp
@@ -537,7 +537,7 @@ namespace mongo {
log() << "** We suggest setting it to 256KB (512 sectors) or less"
<< startupWarningsLog;
- log() << "** http://www.mongodb.org/display/DOCS/Readahead"
+ log() << "** http://dochub.mongodb.org/core/readahead"
<< startupWarningsLog;
}
}
@@ -612,7 +612,7 @@ namespace mongo {
log() << "** Restart with --replSet unless you are doing maintenance and no"
<< " other clients are connected." << startupWarningsLog;
log() << "** The TTL collection monitor will not start because of this." << startupWarningsLog;
- log() << "** For more info see http://www.mongodb.org/display/DOCS/TTL+Monitor" << startupWarningsLog;
+ log() << "** For more info see http://dochub.mongodb.org/core/ttlcollections" << startupWarningsLog;
log() << startupWarningsLog;
}
diff --git a/src/mongo/db/geo/haystack.cpp b/src/mongo/db/geo/haystack.cpp
index fa433536129..30c3abc1fd6 100644
--- a/src/mongo/db/geo/haystack.cpp
+++ b/src/mongo/db/geo/haystack.cpp
@@ -40,7 +40,7 @@
* Provides the geoHaystack index type and the command "geoSearch."
* Examines all documents in a given radius of a given point.
* Returns all documents that match a given search restriction.
- * See http://www.mongodb.org/display/DOCS/Geospatial+Haystack+Indexing
+ * See http://dochub.mongodb.org/core/haystackindexes
*
* Use when you want to look for restaurants within 25 miles with a certain name.
* Don't use when you want to find the closest open restaurants; see 2d.cpp for that.
diff --git a/src/mongo/db/json.h b/src/mongo/db/json.h
index b174b99a6dc..f344ebe1f90 100644
--- a/src/mongo/db/json.h
+++ b/src/mongo/db/json.h
@@ -27,10 +27,10 @@ namespace mongo {
* Create a BSONObj from a JSON <http://www.json.org>,
* <http://www.ietf.org/rfc/rfc4627.txt> string. In addition to the JSON
* extensions extensions described here
- * <http://mongodb.onconfluence.com/display/DOCS/Mongo+Extended+JSON>, this
- * function accepts unquoted field names and allows single quotes to
- * optionally be used when specifying field names and string values instead
- * of double quotes. JSON unicode escape sequences (of the form \uXXXX) are
+ * <http://dochub.mongodb.org/core/mongodbextendedjson>, this function
+ * accepts unquoted field names and allows single quotes to optionally be
+ * used when specifying field names and string values instead of double
+ * quotes. JSON unicode escape sequences (of the form \uXXXX) are
* converted to utf8.
*
* @throws MsgAssertionException if parsing fails. The message included with
diff --git a/src/mongo/db/stats/snapshots.cpp b/src/mongo/db/stats/snapshots.cpp
index 35f0768d79f..25ded47a05a 100644
--- a/src/mongo/db/stats/snapshots.cpp
+++ b/src/mongo/db/stats/snapshots.cpp
@@ -145,7 +145,7 @@ namespace mongo {
statsSnapshots.outputLockInfoHTML( ss );
ss << "<a "
- "href=\"http://www.mongodb.org/pages/viewpage.action?pageId=7209296\" "
+ "href=\"http://dochub.mongodb.org/core/concurrency\" "
"title=\"snapshot: was the db in the write lock when this page was generated?\">";
ss << "write locked now:</a> " << (Lock::isW() ? "true" : "false") << "\n";
}
diff --git a/src/mongo/s/config_upgrade_v3_to_v4.cpp b/src/mongo/s/config_upgrade_v3_to_v4.cpp
index 3530987773e..3ee0bd023e4 100644
--- a/src/mongo/s/config_upgrade_v3_to_v4.cpp
+++ b/src/mongo/s/config_upgrade_v3_to_v4.cpp
@@ -42,7 +42,7 @@ namespace mongo {
"Did not upgrade config database from v3 to v4 because the upgrade failed in\n"
"the critical section. Manual intervention is required to re-sync the config\n"
"servers. See:\n"
- "http://docs.mongodb.org/manual/release-notes/2.4/\n"
+ "http://dochub.mongodb.org/core/2dot4upgradenotes\n"
"******\n";
static const char* cannotCleanupMessage =
@@ -51,7 +51,7 @@ namespace mongo {
"Cannot upgrade config database from v3 to v4 because a previous upgrade\n"
"failed in the critical section. Manual intervention is required to re-sync\n"
"the config servers. See:\n"
- "http://docs.mongodb.org/manual/release-notes/2.4/\n"
+ "http://dochub.mongodb.org/core/2dot4upgradenotes\n"
"******\n";
static const char* minMongoProcessVersion = "2.2";
diff --git a/src/mongo/util/version.cpp b/src/mongo/util/version.cpp
index 719b04b20ed..6d5d94b98bb 100644
--- a/src/mongo/util/version.cpp
+++ b/src/mongo/util/version.cpp
@@ -195,7 +195,7 @@ namespace mongo {
if( !cmdLine.dur ) {
log() << "** Note that journaling defaults to off for 32 bit and is currently off." << startupWarningsLog;
}
- log() << "** See http://www.mongodb.org/display/DOCS/32+bit" << startupWarningsLog;
+ log() << "** See http://dochub.mongodb.org/core/32bit" << startupWarningsLog;
warned = true;
}