Skip to content

Commit 3770623

Browse files
committed
Docs: ensure no double slash when using docsref
1 parent 50f46bb commit 3770623

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

docs/reference/content/driver-async/tutorials/aggregation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title = "Aggregation"
1111

1212
## Aggregation Framework
1313

14-
The [aggregation pipeline]({{<docsref "/core/aggregation-pipeline">}}) is a framework for data aggregation, modeled on the concept of data processing pipelines.
14+
The [aggregation pipeline]({{<docsref "core/aggregation-pipeline">}}) is a framework for data aggregation, modeled on the concept of data processing pipelines.
1515

1616
## Prerequisites
1717

docs/reference/content/driver-async/tutorials/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To specify a single `MongoCredential` instance, you can also use the [`Connectio
3939
## Default Authentication Mechanism
4040

4141
Starting in MongoDB 3.0, MongoDB changed the default authentication
42-
mechanism from [`MONGODB-CR`]({{<docsref "/core/security-mongodb-cr">}}) to
42+
mechanism from [`MONGODB-CR`]({{<docsref "core/security-mongodb-cr">}}) to
4343
[`SCRAM-SHA-1`]({{<docsref "core/security-scram-sha-1">}}).
4444

4545
To create a credential that will authenticate using the default

docs/reference/content/driver-async/tutorials/text-search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ Text search matches: 1
137137

138138
For more information about text search see the following sections in the MongoDB Server Manual:
139139

140-
- [`$text` query operator]({{< docsref "/reference/operator/query/text">}})
140+
- [`$text` query operator]({{< docsref "reference/operator/query/text">}})
141141

142-
- [`text` index]({{< docsref "/core/index-text" >}})
142+
- [`text` index]({{< docsref "core/index-text" >}})
143143

144144
- [Text Search Languages]({{<docsref "reference/text-search-languages">}})

docs/reference/content/driver/tutorials/aggregation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pre = "<i class='fa'></i>"
1010

1111
## Aggregation Framework
1212

13-
The [aggregation pipeline]({{<docsref "/core/aggregation-pipeline">}}) is a framework for data aggregation, modeled on the concept of data processing pipelines.
13+
The [aggregation pipeline]({{<docsref "core/aggregation-pipeline">}}) is a framework for data aggregation, modeled on the concept of data processing pipelines.
1414

1515
## Prerequisites
1616

docs/reference/content/driver/tutorials/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ completeness, the driver accepts a list of credentials.
3838
## Default Authentication Mechanism
3939

4040
Starting in MongoDB 3.0, MongoDB changed the default authentication
41-
mechanism from [`MONGODB-CR`]({{<docsref "/core/security-mongodb-cr">}}) to
41+
mechanism from [`MONGODB-CR`]({{<docsref "core/security-mongodb-cr">}}) to
4242
[`SCRAM-SHA-1`]({{<docsref "core/security-scram-sha-1">}}).
4343

4444
To create a credential that will authenticate using the default

docs/reference/content/driver/tutorials/text-search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ Text search matches (english): 1
123123

124124
For more information about text search see the following sections in the MongoDB Server Manual:
125125

126-
- [`$text` query operator]({{< docsref "/reference/operator/query/text">}})
126+
- [`$text` query operator]({{< docsref "reference/operator/query/text">}})
127127

128-
- [`text` index]({{< docsref "/core/index-text" >}})
128+
- [`text` index]({{< docsref "core/index-text" >}})
129129

130130
- [Text Search Languages]({{<docsref "reference/text-search-languages">}})
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
http://docs.mongodb.org/manual/{{ .Get 0 }}
1+
http://docs.mongodb.org/manual{{ if eq (((.Get 0) 1) "/") false }}/{{ end }}{{ .Get 0 }}

0 commit comments

Comments
 (0)