-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Update documentation links #905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* Change docs.mongodb.com to www.mongodb.com/docs * Change docs.mongodb.org to www.mongodb.com/docs * Change www.mongodb.org to www.mongodb.com * Change http to https
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Added some link updates that reflect some changes in the manual that I noticed.
@@ -53,12 +53,12 @@ | |||
* <ul> | |||
* <li><em>Strict mode</em> that conforms to the <a href="http://www.json.org/">JSON RFC specifications.</a></li> | |||
* <li><em>JavaScript mode</em> that that most JavaScript interpreters can process</li> | |||
* <li><em>Shell mode</em> that the <a href="http://docs.mongodb.org/manual/reference/mongo/#mongo">mongo</a> shell can process. | |||
* <li><em>Shell mode</em> that the <a href="https://www.mongodb.com/docs/manual/reference/mongo/#mongo">mongo</a> shell can process. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No change necessary, but the "#mongo" anchor at the end of this URL doesn't exist at the moment, so you can remove that part of it.
@@ -52,7 +52,7 @@ case class MapReduceObservable[TResult](wrapped: MapReducePublisher[TResult]) ex | |||
/** | |||
* Sets the JavaScript function that follows the reduce method and modifies the output. | |||
* | |||
* [[http://docs.mongodb.org/manual/reference/command/mapReduce#mapreduce-finalize-cmd Requirements for the finalize Function]] | |||
* [[https://www.mongodb.com/docs/manual/reference/command/mapReduce#mapreduce-finalize-cmd Requirements for the finalize Function]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the current anchor doesn't exist. I think this is the new anchor target you might have intended to link to:
https://www.mongodb.com/docs/manual/reference/command/mapReduce/#requirements-for-the-finalize-function
@@ -29,23 +29,23 @@ object MongoCredential { | |||
/** | |||
* The GSSAPI mechanism. See the <a href="http://tools.ietf.org/html/rfc4752">RFC</a>. | |||
* | |||
@see [[http://docs.mongodb.org/manual/core/authentication/#kerberos-authentication GSSAPI]] | |||
@see [[https://www.mongodb.com/docs/manual/core/authentication/#kerberos-authentication GSSAPI]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this refers to an old target.
Instead, maybe the link should be:
https://www.mongodb.com/docs/manual/core/kerberos/
or if you want to link directly to GSSAPI through AD auth:
https://www.mongodb.com/docs/manual/tutorial/kerberos-auth-activedirectory-authz/
* @since 4.0 | ||
*/ | ||
val GSSAPI_MECHANISM: String = JMongoCredential.GSSAPI_MECHANISM | ||
|
||
/** | ||
* The PLAIN mechanism. See the <a href="http://www.ietf.org/rfc/rfc4616.txt">RFC</a>. | ||
* | ||
@see [[http://docs.mongodb.org/manual/core/authentication/#ldap-proxy-authority-authentication PLAIN]] | ||
@see [[https://www.mongodb.com/docs/manual/core/authentication/#ldap-proxy-authority-authentication PLAIN]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this refers to an old target.
New link suggestion: https://www.mongodb.com/docs/manual/core/security-ldap/
@@ -54,7 +54,7 @@ object MongoCredential { | |||
* The SCRAM-SHA-1 Mechanism. | |||
* | |||
* @note Requires MongoDB 3.0 or greater | |||
@see [[http://docs.mongodb.org/manual/core/authentication/#authentication-scram-sha-1 SCRAM-SHA-1]] | |||
@see [[https://www.mongodb.com/docs/manual/core/authentication/#authentication-scram-sha-1 SCRAM-SHA-1]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this links to an old target.
New link suggestion: https://www.mongodb.com/docs/manual/core/security-scram/#std-label-authentication-scram-sha-1
@@ -179,7 +179,7 @@ object MongoCredential { | |||
* acts as the userName. | |||
* | |||
* @return the credential | |||
* @see [[http://docs.mongodb.org/manual/core/authentication/#x-509-certificate-authentication X-509]] | |||
* @see [[https://www.mongodb.com/docs/manual/core/authentication/#x-509-certificate-authentication X-509]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this links to an old target.
New link suggestion: https://www.mongodb.com/docs/manual/core/security-x.509/
@@ -64,7 +64,7 @@ object MongoCredential { | |||
* | |||
* @since 3.8 | |||
* @note Requires MongoDB 4.0 or greater | |||
@see [[http://docs.mongodb.org/manual/core/authentication/#authentication-scram-sha-256 SCRAM-SHA-256]] | |||
@see [[https://www.mongodb.com/docs/manual/core/authentication/#authentication-scram-sha-256 SCRAM-SHA-256]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this links to an old target.
New link suggestion: https://www.mongodb.com/docs/manual/core/security-scram/#std-label-authentication-scram-sha-256
@@ -169,7 +169,7 @@ object MongoCredential { | |||
* | |||
* @param userName the user name | |||
* @return the credential | |||
* @see [[http://docs.mongodb.org/manual/core/authentication/#x-509-certificate-authentication X-509]] | |||
* @see [[https://www.mongodb.com/docs/manual/core/authentication/#x-509-certificate-authentication X-509]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this links to an old target.
New link suggestion: https://www.mongodb.com/docs/manual/core/security-x.509/
@@ -204,7 +204,7 @@ object MongoCredential { | |||
* | |||
* @param userName the non-null user name | |||
* @return the credential | |||
* @see [[http://docs.mongodb.org/manual/core/authentication/#kerberos-authentication GSSAPI]] | |||
* @see [[https://www.mongodb.com/docs/manual/core/authentication/#kerberos-authentication GSSAPI]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this refers to an old target.
Instead, maybe the link should be:
https://www.mongodb.com/docs/manual/core/kerberos/
or if you want to link directly to GSSAPI through AD auth:
https://www.mongodb.com/docs/manual/tutorial/kerberos-auth-activedirectory-authz/
@@ -192,7 +192,7 @@ object MongoCredential { | |||
* @param source the source where the user is defined. This can be either `\$external` or the name of a database. | |||
* @param password the non-null user password | |||
* @return the credential | |||
* @see [[http://docs.mongodb.org/manual/core/authentication/#ldap-proxy-authority-authentication PLAIN]] | |||
* @see [[https://www.mongodb.com/docs/manual/core/authentication/#ldap-proxy-authority-authentication PLAIN]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this refers to an old target.
New link suggestion: https://www.mongodb.com/docs/manual/core/security-ldap/
@ccho-mongodb let's fix all the links in a separate PR. |
Also fixed some broken links and a few others that I noticed were redirecting