Skip to content

Commit aa6029e

Browse files
lindseymooregithub-actions[bot]
authored andcommitted
[Backport v6.7] DOCSP-44947 Shorten TOC (#932)
* DOCSP-44947 TOC Relabel (#923) * DOCSP-44947 TOC Relabel * font: * edit * Mike's suggestion (cherry picked from commit 09afc55) * backport (cherry picked from commit 6159bc4)
1 parent bd03fa3 commit aa6029e

18 files changed

+144
-120
lines changed

.github/workflows/backport.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Backport
2+
on:
3+
pull_request_target:
4+
types:
5+
- closed
6+
- labeled
7+
8+
jobs:
9+
backport:
10+
name: Backport
11+
runs-on: ubuntu-latest
12+
# Only react to merged PRs for security reasons.
13+
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
14+
if: >
15+
github.event.pull_request.merged
16+
&& (
17+
github.event.action == 'closed'
18+
|| (
19+
github.event.action == 'labeled'
20+
&& contains(github.event.label.name, 'backport')
21+
)
22+
)
23+
steps:
24+
- uses: tibdex/backport@v2
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}

source/aggregation-tutorials.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ Aggregation Tutorials
1919

2020
.. toctree::
2121

22-
/aggregation-tutorials/filtered-subset/
23-
/aggregation-tutorials/group-total/
24-
/aggregation-tutorials/unpack-arrays/
25-
/aggregation-tutorials/one-to-one-join/
26-
/aggregation-tutorials/multi-field-join/
22+
Filtered Subset </aggregation-tutorials/filtered-subset/>
23+
Group & Total </aggregation-tutorials/group-total/>
24+
Unpack Arrays & Group </aggregation-tutorials/unpack-arrays/>
25+
One-to-One Join </aggregation-tutorials/one-to-one-join/>
26+
Multi-Field Join </aggregation-tutorials/multi-field-join/>
2727

2828
Overview
2929
--------

source/fundamentals.txt

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ Fundamentals
66

77
.. toctree::
88

9-
/fundamentals/connection
10-
/fundamentals/stable-api
11-
/fundamentals/authentication
12-
/fundamentals/crud
13-
/fundamentals/promises
14-
/fundamentals/aggregation
15-
/fundamentals/transactions
16-
/fundamentals/run-command
17-
/fundamentals/indexes
18-
/fundamentals/collations
19-
/fundamentals/logging
20-
/fundamentals/monitoring
21-
/fundamentals/gridfs
22-
/fundamentals/time-series
23-
/fundamentals/typescript
24-
/fundamentals/bson
25-
/fundamentals/encrypt-fields
9+
Connection </fundamentals/connection>
10+
Stable API </fundamentals/stable-api>
11+
Authentication </fundamentals/authentication>
12+
CRUD Operations </fundamentals/crud>
13+
Promises </fundamentals/promises>
14+
Aggregation </fundamentals/aggregation>
15+
Transactions </fundamentals/transactions>
16+
Run a Command </fundamentals/run-command>
17+
Indexes </fundamentals/indexes>
18+
Collations </fundamentals/collations>
19+
Logging </fundamentals/logging>
20+
Monitoring </fundamentals/monitoring>
21+
GridFS </fundamentals/gridfs>
22+
Time Series </fundamentals/time-series>
23+
TypeScript </fundamentals/typescript>
24+
BSON Settings </fundamentals/bson>
25+
In-Use Encryption </fundamentals/encrypt-fields>
2626

2727
.. include:: /includes/fundamentals-sections.rst

source/fundamentals/authentication.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Authentication
88

99
.. toctree::
1010

11-
/fundamentals/authentication/mechanisms
12-
/fundamentals/authentication/enterprise-mechanisms
11+
Authentication </fundamentals/authentication/mechanisms>
12+
Enterprise Authentication </fundamentals/authentication/enterprise-mechanisms>
1313

1414
Overview
1515
--------

source/fundamentals/bson.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ BSON Settings
77
.. toctree::
88
:caption: BSON settings
99

10-
/fundamentals/bson/undefined-values
11-
/fundamentals/bson/utf8-validation
10+
Undefined Values </fundamentals/bson/undefined-values>
11+
UTF-8 Validation </fundamentals/bson/utf8-validation>
1212

1313
.. contents:: On this page
1414
:local:

source/fundamentals/connection.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ Connection
1616

1717
.. toctree::
1818

19-
/fundamentals/connection/connect
20-
/fundamentals/connection/connection-options
21-
/fundamentals/connection/network-compression
22-
/fundamentals/connection/tls
23-
/fundamentals/connection/socks
24-
Connect to MongoDB Atlas from AWS Lambda <https://www.mongodb.com/docs/atlas/manage-connections-aws-lambda/>
19+
Connection Guide </fundamentals/connection/connect>
20+
Connection Options </fundamentals/connection/connection-options>
21+
Network Compression </fundamentals/connection/network-compression>
22+
TLS </fundamentals/connection/tls>
23+
SOCKS5 Proxy Support </fundamentals/connection/socks>
24+
Connect with AWS Lambda <https://www.mongodb.com/docs/atlas/manage-connections-aws-lambda/>
2525

2626
.. contents:: On this page
2727
:local:

source/fundamentals/crud.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ CRUD Operations
1515
.. toctree::
1616
:caption: CRUD Operations
1717

18-
/fundamentals/crud/read-operations
19-
/fundamentals/crud/write-operations
20-
/fundamentals/crud/query-document
21-
/fundamentals/crud/compound-operations
22-
/fundamentals/crud/read-write-pref
18+
Read </fundamentals/crud/read-operations>
19+
Write </fundamentals/crud/write-operations>
20+
Query </fundamentals/crud/query-document>
21+
Compound Operations </fundamentals/crud/compound-operations>
22+
Operations on Replica Sets </fundamentals/crud/read-write-pref>
2323

2424
CRUD (Create, Read, Update, Delete) operations allow you to work with
2525
the data stored in MongoDB.

source/fundamentals/crud/read-operations.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ Read Operations
1414
.. meta::
1515
:keywords: code example, node.js, sample dataset
1616

17+
.. toctree::
18+
:caption: Read Operations
19+
20+
Retrieve Data </fundamentals/crud/read-operations/retrieve>
21+
Access Data from a Cursor </fundamentals/crud/read-operations/cursor>
22+
Distinct Values </fundamentals/crud/read-operations/distinct>
23+
Sort Results </fundamentals/crud/read-operations/sort>
24+
Skip Returned Results </fundamentals/crud/read-operations/skip>
25+
Limit Returned Results </fundamentals/crud/read-operations/limit>
26+
Specify Fields to Return </fundamentals/crud/read-operations/project>
27+
Search Geospatially </fundamentals/crud/read-operations/geo>
28+
Search Text </fundamentals/crud/read-operations/text>
29+
1730
- :doc:`/fundamentals/crud/read-operations/retrieve`
1831
- :doc:`/fundamentals/crud/read-operations/cursor`
1932
- :doc:`/fundamentals/crud/read-operations/distinct`
@@ -23,16 +36,3 @@ Read Operations
2336
- :doc:`/fundamentals/crud/read-operations/project`
2437
- :doc:`/fundamentals/crud/read-operations/geo`
2538
- :doc:`/fundamentals/crud/read-operations/text`
26-
27-
.. toctree::
28-
:caption: Read Operations
29-
30-
/fundamentals/crud/read-operations/retrieve
31-
/fundamentals/crud/read-operations/cursor
32-
/fundamentals/crud/read-operations/distinct
33-
/fundamentals/crud/read-operations/sort
34-
/fundamentals/crud/read-operations/skip
35-
/fundamentals/crud/read-operations/limit
36-
/fundamentals/crud/read-operations/project
37-
/fundamentals/crud/read-operations/geo
38-
/fundamentals/crud/read-operations/text

source/fundamentals/crud/write-operations.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ Write Operations
55
.. meta::
66
:description: Learn about the commands for running MongoDB write operations by using the {+driver-long+}.
77

8+
9+
.. toctree::
10+
:caption: Write Operations
11+
12+
Insert </fundamentals/crud/write-operations/insert>
13+
Custom Values for _id </fundamentals/crud/write-operations/pkFactory>
14+
Delete </fundamentals/crud/write-operations/delete>
15+
Modify </fundamentals/crud/write-operations/modify>
16+
Update Arrays </fundamentals/crud/write-operations/embedded-arrays>
17+
Upsert </fundamentals/crud/write-operations/upsert>
18+
819
- :doc:`/fundamentals/crud/write-operations/insert`
920
- :doc:`/fundamentals/crud/write-operations/pkFactory`
1021
- :doc:`/fundamentals/crud/write-operations/delete`
1122
- :doc:`/fundamentals/crud/write-operations/modify`
1223
- :doc:`/fundamentals/crud/write-operations/embedded-arrays`
1324
- :doc:`/fundamentals/crud/write-operations/upsert`
14-
15-
.. toctree::
16-
:caption: Write Operations
17-
18-
/fundamentals/crud/write-operations/insert
19-
/fundamentals/crud/write-operations/pkFactory
20-
/fundamentals/crud/write-operations/delete
21-
/fundamentals/crud/write-operations/modify
22-
/fundamentals/crud/write-operations/embedded-arrays
23-
/fundamentals/crud/write-operations/upsert
24-

source/fundamentals/monitoring.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Monitoring
99
.. toctree::
1010
:caption: CRUD Operations
1111

12-
/fundamentals/monitoring/cluster-monitoring
13-
/fundamentals/monitoring/command-monitoring
14-
/fundamentals/monitoring/connection-monitoring
12+
Clusters </fundamentals/monitoring/cluster-monitoring>
13+
Commands </fundamentals/monitoring/command-monitoring>
14+
Connection Pool </fundamentals/monitoring/connection-monitoring>
1515

1616
- :doc:`Cluster Monitoring </fundamentals/monitoring/cluster-monitoring>`: monitoring
1717
changes in a cluster

0 commit comments

Comments
 (0)