Skip to content

Commit d06264d

Browse files
(DOCSP-23676): Source constant, admonition, term cleanup (mongodb#2034)
1 parent 06de44b commit d06264d

File tree

275 files changed

+2570
-3053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

275 files changed

+2570
-3053
lines changed

snooty.toml

-24
Original file line numberDiff line numberDiff line change
@@ -44,29 +44,6 @@ toc_landing_pages = [
4444
atlas = "Atlas"
4545

4646
[constants]
47-
realm = "realm"
48-
realms = "realms"
49-
client-database = "Realm Database"
50-
client-db-short = "Realm"
51-
atlas = "MongoDB Atlas"
52-
atlas-short = "Atlas"
53-
compass = "MongoDB Compass"
54-
compass-short = "Compass"
55-
charts = "MongoDB Charts"
56-
charts-short = "Charts"
57-
service = "Realm" # product (backend + sdks)
58-
service-short = "Realm" # use as shorthand, AND as a prefix for features
59-
backend = "Atlas App Services"
60-
backend-short = "App Services"
61-
sync = "Atlas Device Sync"
62-
sync-short = "Sync" # feature/product name, NOT verb
63-
backend-schema = "Realm Schema"
64-
frontend-schema = "Realm Object Model"
65-
cli-bin = ":binary:`realm-cli`" # binary -- DO NOT USE IN LINKS! Will break them.
66-
cli = "Realm CLI"
67-
ui = "Atlas App Services UI"
68-
app = "App"
69-
leftnav = "left navigation menu"
7047
admin-api-page = "/admin/api/v3/#"
7148
base-url = "https://www.mongodb.com/docs/realm"
7249
kotlin-sdk-version = "1.0.1"
@@ -77,4 +54,3 @@ java-sdk-version = "10.11.1"
7754
max-graphql-resolvers = "ten"
7855
max-graphql-relationship-depth = "five"
7956
log-retention-time = "10 days"
80-
encrypted-interprocess-sharing-error-message = "Encrypted interprocess sharing is currently unsupported."

source/glossary.txt

-466
This file was deleted.

source/help.txt

+5-7
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,15 @@ Get Help
1212
:depth: 1
1313
:class: singlecol
1414

15-
16-
1715
Overview
1816
--------
1917

20-
{+service+} provides various resources for getting help with your {+app+}.
18+
MongoDB provides various resources for getting help with App Services.
2119

2220
Professional Support
2321
--------------------
2422

25-
MongoDB offers professional support for {+service+} and Atlas. Paid
23+
MongoDB offers professional support for App Services and Atlas. Paid
2624
support includes help with training, upgrades, and general technical
2725
support for issues in your database or app. We strongly recommend
2826
MongoDB's professional support for production apps and mission-critical
@@ -39,7 +37,7 @@ Community Forums
3937
The official `MongoDB Community Forums
4038
<https://www.mongodb.com/community/forums/c/realm/9>`__ are a great
4139
place to meet other developers, ask and answer questions, and stay
42-
up-to-date with the latest Realm features and releases. You can also
40+
up-to-date with the latest Realm and App Services features and releases. You can also
4341
interact with MongoDB employees, like our community team, engineers, and
4442
product managers, who are active forum contributors.
4543

@@ -48,7 +46,7 @@ Stack Overflow
4846

4947
MongoDB monitors & answers questions with the ``realm`` tag on Stack
5048
Overflow, a forum to ask programming questions and get help with
51-
specific errors. `Ask a {+service-short+} related question
49+
specific errors. `Ask a Realm related question
5250
<https://stackoverflow.com/questions/ask?tags=realm>`_ or read through
5351
the `existing questions
5452
<https://stackoverflow.com/questions/tagged/realm?sort=Newest&edited=true>`_.
@@ -57,7 +55,7 @@ Feature Requests
5755
----------------
5856

5957
To request a feature, check the status of your feedback, or see top feature
60-
requests from other users, check out the `MongoDB Feedback Engine for {+service-short+} <https://feedback.mongodb.com/forums/923521-realm>`_.
58+
requests from other users, check out the `MongoDB Feedback Engine for Realm <https://feedback.mongodb.com/forums/923521-realm>`_.
6159

6260
Bug Reporting, and Changelogs
6361
-----------------------------

source/includes/add-realm-fody-weaver.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
If your project was already using `Fody
88
<https://github.com/Fody/Fody>`__, you must manually add the
9-
{+service-short+} weaver to your ``FodyWeavers.xml`` file. When done,
9+
Realm weaver to your ``FodyWeavers.xml`` file. When done,
1010
your ``FodyWeavers.xml`` file should look something like
1111
this:
1212

source/includes/api-authenticate-instructions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Use your MongoDB Cloud API key pair to call the authentication endpoint:
88
--data '{"username": "<Public API Key>", "apiKey": "<Private API Key>"}' \
99
https://realm.mongodb.com/api/admin/v3.0/auth/providers/mongodb-cloud/login
1010
11-
If authentication succeeds, {+backend+} returns an access token as part of
11+
If authentication succeeds, App Services returns an access token as part of
1212
the JSON response document:
1313

1414
.. code-block:: json

source/includes/api-get-application-id.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
To find an Application ID, make a request to the {+service-short+}
1+
To find an Application ID, make a request to the App Services
22
:admin-api-endpoint:`GET /groups/{groupid}/apps <operation/adminListApplications>` API endpoint.
33

44
This request has the following format, referencing the ``access_token`` and the Group ID:
@@ -9,7 +9,7 @@ This request has the following format, referencing the ``access_token`` and the
99
--header 'Authorization: Bearer <access_token>' \
1010
https://realm.mongodb.com/api/admin/v3.0/groups/{groupId}/apps
1111
12-
This will return a list of objects describing each {+app+} in the provided
12+
This will return a list of objects describing each App in the provided
1313
group. For Admin API requests, your Application ID is the ObjectId value in the
1414
``_id`` field, *not* the ``client_app_id``.
1515

source/includes/commit-process-diagram.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
The following diagram illustrates the commit process:
44

55
.. figure:: /images/mvcc-diagram.png
6-
:alt: {+client-database+} copies the relevant part of the tree for writes, then replaces the latest version by updating a pointer.
6+
:alt: Realm Database copies the relevant part of the tree for writes, then replaces the latest version by updating a pointer.
77
:lightbox:
88

9-
1. The {+realm+} is structured as a tree. The {+realm+} has a pointer
9+
1. The realm is structured as a tree. The realm has a pointer
1010
to its latest version, V1.
1111

12-
#. When writing, {+client-database+} creates a new version V2 based on V1.
13-
{+client-database+} makes copies of objects for modification (A\ :sup:`1`,
12+
#. When writing, Realm Database creates a new version V2 based on V1.
13+
Realm Database makes copies of objects for modification (A\ :sup:`1`,
1414
C\ :sup:`1`), while links to unmodified objects continue to
1515
point to the original versions (B, D).
1616

17-
#. After validating the commit, {+client-database+} updates the {+realm+}'s
18-
pointer to the new latest version, V2. {+client-database+} then discards
17+
#. After validating the commit, Realm Database updates the realm's
18+
pointer to the new latest version, V2. Realm Database then discards
1919
old nodes no longer connected to the tree.
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
.. warning:: Custom Data May Be Stale
22

3-
{+backend+} does not dynamically update a user's custom data if the
4-
underlying document changes. Instead, {+backend+} fetches a new copy
3+
App Services does not dynamically update a user's custom data if the
4+
underlying document changes. Instead, App Services fetches a new copy
55
of the data whenever a user refreshes their access token, such as
66
when they log in. This may mean that the custom data won't
77
immediately reflect changes, e.g. updates from an authentication
8-
Trigger. If the token is not refreshed, {+service-short+} waits
8+
Trigger. If the token is not refreshed, the SDK waits
99
30 minutes and then refreshes it on the next call to the backend, so custom user
1010
data could be stale for up to 30 minutes plus the time until the next SDK
1111
call to the backend occurs.

source/includes/data-source-configuration.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ required, depending on whether you are linking a Data Lake or a cluster.
4242

4343
* - | ``id``
4444
| String
45-
- A string that uniquely identifies the service. {+service-short+}
45+
- A string that uniquely identifies the service. App Services
4646
automatically generates a unique ID for a MongoDB service when you create
4747
it.
4848

source/includes/deployment-region-auth-callback-urls.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
:widths: 1 4
44

55
* - Region
6-
- {+service-short+} Authentication Callback URL
6+
- App Services Authentication Callback URL
77

88
* - | **Global**
99
- .. code-block:: text
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. warning::
22

3-
Do not use cryptographically-weak hashes for {+realm+} encryption keys.
3+
Do not use cryptographically-weak hashes for realm encryption keys.
44
For optimal security, we recommend generating random rather than derived
55
encryption keys.

source/includes/java-initialize-realm.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
Initialize Realm
22
----------------
33

4-
Before you can use {+service-short+} in your app, you must
5-
initialize the {+service-short+} library. Your application should
6-
initialize {+service-short+} just once each time the application runs.
4+
Before you can use Realm in your app, you must
5+
initialize the Realm library. Your application should
6+
initialize Realm just once each time the application runs.
77

8-
To initialize the {+service-short+} library, provide an Android
8+
To initialize the Realm library, provide an Android
99
``context`` to the ``Realm.init()`` static function. You can provide
1010
an Activity, Fragment, or Application ``context`` for initialization with no
11-
difference in behavior. You can initialize the {+service-short+} library
11+
difference in behavior. You can initialize the Realm library
1212
in the ``onCreate()`` method of an `application subclass
1313
<https://developer.android.com/reference/android/app/Application>`__ to
14-
ensure that you only initialize {+service-short+} once each time the
14+
ensure that you only initialize Realm once each time the
1515
application runs.
1616

1717
.. tabs-realm-languages::

source/includes/java-open-synced-realm.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
To open a synced {+realm+}, call
1+
To open a synced realm, call
22
:java-sdk:`getInstanceAsync()
33
<io/realm/Realm.html#getInstanceAsync-io.realm.RealmConfiguration-io.realm.Realm.Callback->`,
44
passing in a :java-sdk:`SyncConfiguration <io/realm/mongodb/sync/SyncConfiguration.html>`
5-
object. The following code demonstrates how to create a {+realm+} with
5+
object. The following code demonstrates how to create a realm with
66
specific sync settings created using a ``SyncConfiguration`` object:
77

88
.. tabs-realm-languages::
@@ -21,17 +21,17 @@ specific sync settings created using a ``SyncConfiguration`` object:
2121
:language: java
2222
:copyable: false
2323

24-
The code above shows how to open the {+realm+} *asynchronously*
24+
The code above shows how to open the realm *asynchronously*
2525
by using :java-sdk:`getInstanceAsync()
2626
<io/realm/Realm.html#getInstanceAsync-io.realm.RealmConfiguration-io.realm.Realm.Callback->`.
27-
You can also open a {+realm+} synchronously by using :java-sdk:`getInstance()
27+
You can also open a realm synchronously by using :java-sdk:`getInstance()
2828
<io/realm/Realm.html#getInstance-io.realm.RealmConfiguration->`, which
29-
returns an open {+realm+} before synchronizing all data from the backend.
29+
returns an open realm before synchronizing all data from the backend.
3030
However, this may lead to temporary data inconsistencies while the
3131
remote data is downloaded, and is generally not recommended. You can
3232
use the :java-sdk:`waitForInitialRemoteData() <io/realm/mongodb/sync/SyncConfiguration.Builder.html#waitForInitialRemoteData-->`
3333
configuration option to force the SDK to fetch remote data before
34-
opening the {+realm+} to avoid these inconsistencies.
34+
opening the realm to avoid these inconsistencies.
3535

3636
The :ref:`partition value <partition-value>` specifies which subset of your data to sync.
3737
This is typically a user ID, project ID, store ID, or some other category identifier in

source/includes/java-sdk-supported-platforms.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{+service+}'s Java SDK enables you to build apps for the
1+
Realm's Java SDK enables you to build apps for the
22
following platforms:
33

44
- Android

source/includes/java-synchronous-reads-writes-ui-thread.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. important:: Synchronous Reads and Writes on the UI Thread
22

3-
By default, you can only read or write to a {+realm+} in your
3+
By default, you can only read or write to a realm in your
44
application's UI thread using
55
:ref:`asynchronous transactions <java-async-api>`. That is,
66
you can only use ``Realm`` methods whose name ends with the word
@@ -12,7 +12,7 @@
1212
unresponsive or slow UI interactions, so it's usually best to handle
1313
these operations either asynchronously or in a background thread.
1414
However, if your application requires the use of synchronous
15-
{+realm+} reads or writes on the UI thread, you can explicitly allow
15+
realm reads or writes on the UI thread, you can explicitly allow
1616
the use of synchronous methods with the following
1717
``SyncConfiguration`` options:
1818

source/includes/js-close-a-realm.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
It is important to remember to call the ``close()`` method when done with a
2-
{+realm+} instance to avoid memory leaks.
2+
realm instance to avoid memory leaks.
33

44
.. literalinclude:: /examples/generated/node/open-and-close-a-local-realm.snippet.close-local-realm.js
55
:language: javascript

source/includes/js-open-a-local-realm.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
To open a local (non-synced) {+realm+}, pass a :js-sdk:`Realm.Configuration
1+
To open a local (non-synced) realm, pass a :js-sdk:`Realm.Configuration
22
<Realm.html#~Configuration>` object to the asynchronous method :js-sdk:`Realm.open()
33
<Realm.html#.open>`.
44

source/includes/js-open-an-in-memory-realm.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ add ``inMemory: true`` to your :js-sdk:`Realm.Configuration
99

1010
.. note::
1111

12-
In-memory {+realms+} may use disk space if memory is running low, but files
13-
created by an in-memory {+realm+} are deleted when you close the {+realm+}.
12+
In-memory realms may use disk space if memory is running low, but files
13+
created by an in-memory realm are deleted when you close the realm.
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. warning::
22

33
When a user logs out, you can no longer read or write data in any
4-
synced {+realm+}s that the user opened. As a result, any operation
4+
synced realms that the user opened. As a result, any operation
55
that has not yet completed before the initiating user logs out cannot
66
complete successfully and will likely result in an error. Any data in
77
a write operation that fails in this way will be lost.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. note:: MongoDB Version 4.4 or Higher Required
22

3-
In order to use {+sync+}, your Atlas cluster must use MongoDB version 4.4 or higher.
3+
In order to use Device Sync, your Atlas cluster must use MongoDB version 4.4 or higher.
44
When setting up your cluster, select :guilabel:`MongoDB 4.4` (or a higher version)
55
from the dropdown menu under :guilabel:`Additional Settings`.

source/includes/node-open-a-synced-realm.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
To open a {+realm+} with Partition-Based Sync, call :js-sdk:`Realm.open() <Realm.html#.open>`.
1+
To open a realm with Partition-Based Sync, call :js-sdk:`Realm.open() <Realm.html#.open>`.
22
Pass in a :js-sdk:`Configuration <Realm.html#~Configuration>`
33
object, which must include the ``sync`` property defining a
44
:js-sdk:`SyncConfiguration <Realm.App.Sync.html#~SyncConfiguration>` object.

source/includes/note-filters-no-mongodb-expansions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. important::
22

3-
{+service+} evaluates and applies filters before it reads any
3+
App Services evaluates and applies filters before reading any
44
documents, so you cannot use :ref:`MongoDB document expansions
55
<mongodb-document-expansions>` in a filter's Apply When expression.
66
However, you can use other expansions like :json-expansion:`%%user`,
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. note:: Flexible Sync Prerequisites
22

3-
Enabling Flexible Sync in Your {+service-short+} Application requires a
4-
non-sharded {+atlas+} cluster running :manual:`MongoDB 5.0 or greater
3+
Enabling Flexible Sync in your App requires a
4+
non-sharded Atlas cluster running :manual:`MongoDB 5.0 or greater
55
</release-notes/>`

source/includes/note-get-schema-ui-dev-mode-disabled.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. note:: Get Schema from UI if Development Mode Disabled
22

3-
If you have enabled {+sync-short+} but turned off Development Mode,
4-
you can copy and paste the object model definitions that {+backend-short+}
5-
generated for you from the :guilabel:`SDKs` tab in the {+ui+}.
3+
If you have enabled Sync but turned off Development Mode,
4+
you can copy and paste the object model definitions that App Services
5+
generated for you from the :guilabel:`SDKs` tab in the App Services UI.
66
You must re-enable Development Mode if you want to make changes to the
77
object model definition from client side code.
88

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. note:: Modify Schema Properties of a Synced Realm
22

33
The following page demonstrates how to modify schema properties of a local
4-
{+realm+}. Learn how to :ref:`modify schema properties of a synced realm
4+
realm. Learn how to :ref:`modify schema properties of a synced realm
55
<synced-schema-overview>`.

source/includes/offline-login.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
When your Realm application authenticates a user, it caches the user's
22
credentials. You can check for existing user credentials to bypass the
3-
login flow and access the cached user. Use this to open a {+realm+} offline.
3+
login flow and access the cached user. Use this to open a realm offline.
44

55
.. note:: Initial login requires a network connection
66

source/includes/react-native-enable-typescript.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ application-scale development more robust. If you'd like to
44
use TypeScript in your project, follow the React Native
55
team's official `TypeScript and React Native guide
66
<https://facebook.github.io/react-native/docs/typescript#adding-typescript-to-an-existing-project>`__.
7-
{+service-short+} supports TypeScript natively and integrates easily
7+
Realm supports TypeScript natively and integrates easily
88
into a TypeScript project.

0 commit comments

Comments
 (0)