Skip to content
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

DOCSP-32269 atlas top 250 revamp connection page #458

Merged
merged 4 commits into from
Oct 6, 2023

Conversation

kyuan-mongodb
Copy link
Collaborator

Pull Request Info

Revamped the connection page -- similar to the Node.js driver updates here.

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-32269
Staging - https://docs-mongodbcom-staging.corp.mongodb.com/java/docsworker-xlarge/DOCSP-32269/fundamentals/connection/connect/

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?

Comment on lines 64 to 65
This format offers flexibility in deployment and the ability to change
the servers in rotation without reconfiguring clients.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repeated line

the :manual:`Standard Connection String Format
</reference/connection-string/#std-label-connections-standard-connection-string-format>`.

After the protocol, the next part of the connection string contains
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: I think "after the protocol" and "the next part" mean the same thing. I think it could be simplified to:

Suggested change
After the protocol, the next part of the connection string contains
After the protocol, the connection string contains your

@@ -4,8 +4,9 @@
Connect to MongoDB
==================

In this guide, you can learn how to connect to a MongoDB instance or
replica set using the Java driver.
This guide shows you how to connect to a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick/Suggestion: I think the phrase "This guide shows you" is personifying the page. It seems more clear to me to stick with the "you can learn" format. (This is probably pretty subjective so feel free to take or leave this comment)

Suggested change
This guide shows you how to connect to a
In this guide, you can learn how to connect to a

Copy link
Contributor

@jordan-smith721 jordan-smith721 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

.. figure:: /includes/figures/connection_uri_parts.png
:alt: Connection String parts figure
.. figure:: /includes/figures/dns_seedlist_connection_string_parts.png
:alt: Each part of the connection string

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use better alt text here for accessibility. It should be meaningful to someone who can't see this image. Something like:

Suggested change
:alt: Each part of the connection string
:alt: An example of a connection string that demonstrates the protocol, credentials, hostname or IP, port, and connection options

``mongodb`` for the protocol. You can also use the :manual:`DNS Seed List Connection Format </reference/connection-string/#dns-seed-list-connection-format>`,
``mongodb+srv``, if you want more flexibility of deployment and the ability
to change the servers in rotation without reconfiguring clients.
In this example, we connect to an Atlas MongoDB deployment that has a

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style: Write to the user by using second person. (ref)

Suggested change
In this example, we connect to an Atlas MongoDB deployment that has a
In this example, you connect to an Atlas MongoDB deployment that has a

@kyuan-mongodb kyuan-mongodb merged commit ed4ba2f into mongodb:master Oct 6, 2023
1 of 2 checks passed
kyuan-mongodb added a commit to kyuan-mongodb/docs-java that referenced this pull request Oct 6, 2023
)

* revamped connection and compat page

(cherry picked from commit ed4ba2f)
kyuan-mongodb added a commit to kyuan-mongodb/docs-java that referenced this pull request Oct 6, 2023
)

* revamped connection and compat page

(cherry picked from commit ed4ba2f)
kyuan-mongodb added a commit to kyuan-mongodb/docs-java that referenced this pull request Oct 6, 2023
)

* revamped connection and compat page

(cherry picked from commit ed4ba2f)
kyuan-mongodb added a commit to kyuan-mongodb/docs-java that referenced this pull request Oct 6, 2023
)

* revamped connection and compat page

(cherry picked from commit ed4ba2f)
kyuan-mongodb added a commit to kyuan-mongodb/docs-java that referenced this pull request Oct 6, 2023
)

* revamped connection and compat page

(cherry picked from commit ed4ba2f)
kyuan-mongodb added a commit to kyuan-mongodb/docs-java that referenced this pull request Oct 6, 2023
)

* revamped connection and compat page

(cherry picked from commit ed4ba2f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants