Skip to content

Copy edits for typos #1498

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/faq/storage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ inserted into the database. Consider the following possible causes:
running. Be aware that :dbcommand:`repairDatabase` will block
all other operations and may take a long time to complete.

bHow can I check the size of a collection?
------------------------------------------
How can I check the size of a collection?
-----------------------------------------

To view the size of a collection and other information, use the
:method:`db.collection.stats()` method from the :program:`mongo` shell.
Expand Down
6 changes: 3 additions & 3 deletions source/meta/build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Buildcloth
~~~~~~~~~~

`Buildcloth <https://pypi.python.org/pypi/buildcloth/>`_ is a
meta-build tool, used to generate Makefiles programatically. This
meta-build tool, used to generate Makefiles programmatically. This
makes the build system easier to maintain, and makes it easier to use
the same fundamental code to generate various branches of the Manual
as well as related documentation projects. See `makecloth/ in the
Expand All @@ -253,9 +253,9 @@ Rstcloth
~~~~~~~~

`Rstcloth <https://pypi.python.org/pypi/rstcloth>`_ is a library for
generating reStructuredText programatically. This makes it possible to
generating reStructuredText programmatically. This makes it possible to
generate content for the documentation, such as tables, tables of
contents, and API reference material programatically and
contents, and API reference material programmatically and
transparently. See `rstcloth/ in the docs-tools repository
<https://github.com/mongodb/docs-tools/tree/master/rstcloth>`_ for
the relevant code.
12 changes: 6 additions & 6 deletions source/meta/style-guide.txt
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ Jargon and Common Terms
- A single, top-level object/record in a MongoDB collection.
- record, object, row
- Prefer document over object because of concerns about
cross-driver langauge handling of objects. Reserve record for
cross-driver language handling of objects. Reserve record for
"allocation" of storage. Avoid "row," as possible.

* - :term:`database`
Expand Down Expand Up @@ -324,7 +324,7 @@ Jargon and Common Terms
- The name/value pair that describes a unit of data in MongoDB.
- key, slot, attribute
- Use to emphasize the difference between the name of a field and
its value For exdample, "_id" is the field and the default
its value For example, "_id" is the field and the default
value is an ObjectId.

* - value
Expand All @@ -341,8 +341,8 @@ Jargon and Common Terms
:program:`mongod` or :program:`mongos`.)

* - sub-document
- An embeded or nested document within a document or an array.
- embeded document, nested document
- An embedded or nested document within a document or an array.
- embedded document, nested document
-

* - :term:`map-reduce`
Expand Down Expand Up @@ -378,7 +378,7 @@ Jargon and Common Terms
replica sets and sharded clusters.

* - data set
- The collection of phyisical databases provided by a MongoDB
- The collection of physical databases provided by a MongoDB
deployment.
- database, data
- Important to keep the distinction between the data provided by
Expand Down Expand Up @@ -414,7 +414,7 @@ Jargon and Common Terms
is the hashed value of the field selected as the shard key.
-
- Even though hashed sharding is based on ranges of hashes, the
sequence of hases aren't meaningful to users, and the
sequence of hashes aren't meaningful to users, and the
range-based aspect of hashed shard keys is an implementation
detail.

Expand Down
2 changes: 1 addition & 1 deletion source/reference/command/top.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ following evocation:

db.adminCommand("top")

Alternatly you can use :dbcommand:`top` as follows:
Alternately you can use :dbcommand:`top` as follows:

.. code-block:: javascript

Expand Down
2 changes: 1 addition & 1 deletion source/reference/method/db.collection.update.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ The remaining operations would either:
- fail when they attempted to insert a duplicate.

If the operation fails because of a duplicate index key error,
applications may retry the operation which will succed as an update
applications may retry the operation which will succeed as an update
operation.

.. _multi-parameter:
Expand Down
2 changes: 1 addition & 1 deletion source/reference/method/db.updateUser.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Definition
new values. All fields in the ``update`` document are optional,
but *must* include at least one field.

The ``update`` documehas the following fields:
The ``update`` document has the following fields:

.. include:: /reference/method/db.updateUser-update-fields.rst

Expand Down
2 changes: 1 addition & 1 deletion source/reference/object-id.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ This operation will return the following hexadecimal string:

507f191e810c19729de860ea

To return the hexadecimal string represenation of an ``ObjectId()``,
To return the hexadecimal string representation of an ``ObjectId()``,
use the :method:`~ObjectId.valueOf()` method as follows:

.. code-block:: javascript
Expand Down
2 changes: 1 addition & 1 deletion source/tutorial/install-mongodb-on-os-x.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ following command to build MongoDB with SSL support:
brew install mongodb --with-openssl

You can also install the latest development release of MongoDB for
testing and developemnt with the following command:
testing and development with the following command:

.. code-block:: sh

Expand Down
2 changes: 1 addition & 1 deletion source/tutorial/troubleshoot-snmp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ One of the following errors at the command line:
Error parsing command line: unknown option snmp-subagent
try 'mongod --help' for more information

:program:`mongopd` binaries that are not part of the Enterprise
:program:`mongod` binaries that are not part of the Enterprise
Edition produce this error. :doc:`Install the Enterprise Edition
</tutorial/install-mongodb-enterprise>` and attempt to start
:program:`mongod` again.
Expand Down