Skip to content

Commit 9043cf5

Browse files
schmallisojeff-allen-mongo
authored andcommitted
DOP-1151: prep Compass for publishing on snooty
- adds title, intersphinx, and substitutions to snooty.toml - cleans up reference and path errors
1 parent dad46f4 commit 9043cf5

File tree

8 files changed

+59
-47
lines changed

8 files changed

+59
-47
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Manual <http://docs.mongodb.org/manual/>`_.
88

99
If you already have `giza <https://pypi.python.org/pypi/giza/>`_
1010
installed, you can download and build this documentation locally with
11-
the following command: ::
11+
the following command::
1212

1313
git clone git://github.com/mongodb/docs-compass
1414
cd docs-compass/

snooty.toml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
name = "compass"
2+
title = "MongoDB Compass"
3+
4+
intersphinx = ["https://docs.mongodb.com/manual/objects.inv"]
5+
6+
toc_landing_pages = ["/install", "/connect", "/instance", "/query/filter", "/query/queries",
7+
"/documents", "/schema", "/aggregation-pipeline-builder"]
28

39
[constants]
4-
version = "1.18"
5-
current-version = "1.17.0"
610
download-page = "`downloads page <https://www.mongodb.com/download-center/compass?tck=docs_compass>`__"
11+
current-version = "1.21.2"
12+
13+
14+
[substitutions]
15+
compass = "MongoDB Compass"
16+
compass-short = "Compass"
17+
sql = ":abbr:`SQL (Structured Query Language)`"
18+
service = "Atlas"
19+
json = "abbr:`JSON (Javascript Object Notation)`"
20+
bson = ":abbr:`BSON (Binary Javascript Object Notation)`"
21+
checkmark = ""

source/aggregation-pipeline-builder.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ letter case and accent marks.
5555

5656
To specify a custom collation:
5757

58-
1. Click the :guilabel:`Collation` button at the top of the pipeline
58+
#. Click the :guilabel:`Collation` button at the top of the pipeline
5959
builder.
6060

6161
#. Enter your collation document.
6262

6363
Limitations
6464
~~~~~~~~~~~
6565

66-
The :pipeline:`$out` stage is not available if you are connected to a
66+
The :pipeline:`$out` WORDS stage is not available if you are connected to a
6767
`Data Lake <https://www.mongodb.com/atlas/data-lake>`__.
6868

6969
.. _save-agg-pipeline:

source/includes/fact-compass-platforms.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@
2121
- 3.0+
2222
- 3.0+
2323
- 3.0+
24-
- 3.0+

source/includes/steps-create-index.yaml

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ level: 4
33
ref: create-collection
44
stepnum: 1
55
content: |
6-
From the :ref:`Indexes <collection-tab>` tab, click
7-
:guilabel:`Create Index` to open the
8-
:guilabel:`Create Index` dialog.
6+
From the :ref:`Indexes <collection-tab>` tab, click the
7+
:guilabel:`Create Index` button to bring up the
8+
:guilabel:`Create Index` dialog.
99
---
1010
title: Optional. Enter the index name.
1111
level: 4
1212
ref: enter-index-name
1313
stepnum: 2
1414
content: |
15-
In the dialog, enter the name of the index to create, or leave blank
16-
to have MongoDB create a default name for the index.
15+
In the dialog, enter the name of the index to create, or leave blank
16+
to have MongoDB create a default name for the index.
1717
---
1818
title: Add fields to index.
1919
level: 4
@@ -48,58 +48,58 @@ ref: index-options
4848
stepnum: 4
4949
content: |
5050
51-
|compass-short| supports the following index options:
51+
|compass-short| supports the following index options:
5252
53-
.. list-table::
54-
:header-rows: 1
55-
:widths: 40 60 20
53+
.. list-table::
54+
:header-rows: 1
55+
:widths: 40 60 20
5656
57-
* - Option
58-
- Description
59-
- More Information
57+
* - Option
58+
- Description
59+
- More Information
6060
61-
* - Build index in the background
61+
* - Build index in the background
6262
63-
- Ensure that the MongoDB deployment remains available during
63+
- Ensure that the MongoDB deployment remains available during
6464
the index build operation.
6565
66-
- :manual:`Background Construction </core/index-creation/index.html#background-construction>`
66+
- :manual:`Background Construction </core/index-creation/index.html#background-construction>`
6767
68-
* - Create unique index
68+
* - Create unique index
6969
70-
- Ensure that the indexed fields do not store duplicate values.
70+
- Ensure that the indexed fields do not store duplicate values.
7171
72-
- :manual:`Unique Indexes </core/index-unique>`
72+
- :manual:`Unique Indexes </core/index-unique>`
7373
74-
* - Create a :abbr:`TTL (Time to Live)` index
74+
* - Create a :abbr:`TTL (Time to Live)` index
7575
76-
- Delete documents automatically after a specified number of
77-
seconds since the indexed field value.
76+
- Delete documents automatically after a specified number of
77+
seconds since the indexed field value.
7878
79-
- :manual:`TTL Indexes </core/index-ttl>`
79+
- :manual:`TTL Indexes </core/index-ttl>`
8080
81-
* - Partial filter expression
81+
* - Partial filter expression
8282
83-
- Index only the documents which match the specified filter
84-
expression.
83+
- Index only the documents which match the specified filter
84+
expression.
8585
86-
.. example::
86+
.. example::
8787
88-
The following partial filter expression only indexes
89-
documents where the ``timezone`` field exists:
88+
The following partial filter expression only indexes
89+
documents where the ``timezone`` field exists:
9090
91-
.. code-block:: js
91+
.. code-block:: js
9292
93-
{ "timezone": { "$exists": true } }
94-
95-
- :manual:`Partial Indexes </core/index-partial/>`
93+
{ "timezone": { "$exists": true } }
94+
95+
- :manual:`Partial Indexes </core/index-partial/>`
9696
97-
* - Use custom collation
97+
* - Use custom collation
9898
99-
- Create a custom collation for the index using the options
100-
provided in |compass-short|.
99+
- Create a custom collation for the index using the options
100+
provided in |compass-short|.
101101
102-
- :manual:`Collation Document </reference/collation/#collation-document>`
102+
- :manual:`Collation Document </reference/collation/#collation-document>`
103103
104104
* - Wildcard projection (*New in MongoDB 4.2*)
105105
@@ -130,4 +130,3 @@ level: 4
130130
ref: create-index-button
131131
stepnum: 5
132132
content: ""
133-
...

source/includes/steps-disconnect-compass.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ title: Select :guilabel:`Disconnect` from the dropdown menu.
66
level: 4
77
ref: select-disconnect
88
content: |
9-
.. figure:: images/compass/disconnect.png
9+
.. figure:: /images/compass/disconnect.png
1010
:scale: 80%
1111
:alt: Disconnect menu item
12-
...

source/query/queries.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ collection.
1111

1212
To view these queries:
1313

14-
#. Click the :icon:`ellipsis-h` in the query bar
14+
#. Click the ``…`` in the query bar.
1515
#. Click :guilabel:`Toggle Query History`.
1616

1717
.. figure:: /images/compass/query-history-view.png

worker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
build-and-stage-next-gen
2+
"build-and-stage-next-gen"

0 commit comments

Comments
 (0)