Skip to content

Commit f79e347

Browse files
committed
Don't duplicate description for docs
1 parent cb40262 commit f79e347

File tree

2 files changed

+5
-20
lines changed

2 files changed

+5
-20
lines changed

docs/includes/apiargs-MongoDBCollection-method-createIndex-option.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ description: |
66
primary, must complete the index builds successfully before the primary marks
77
the indexes as ready.
88
9-
This option accepts the same values for the "w" field in a write concern plus
10-
"votingMembers", which indicates all voting data-bearing nodes.
9+
This option accepts the same values for the ``w`` field in a write concern
10+
plus ``"votingMembers"``, which indicates all voting data-bearing nodes.
1111
1212
This is not supported for server versions prior to 4.4 and will result in an
1313
exception at execution time if used.

docs/includes/apiargs-MongoDBCollection-method-createIndexes-option.yaml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1-
arg_name: option
2-
name: commitQuorum
3-
type: string|integer
4-
description: |
5-
Specifies how many data-bearing members of a replica set, including the
6-
primary, must complete the index builds successfully before the primary marks
7-
the indexes as ready.
8-
9-
This option accepts the same values for the "w" field in a write concern plus
10-
"votingMembers", which indicates all voting data-bearing nodes.
11-
12-
This is not supported for server versions prior to 4.4 and will result in an
13-
exception at execution time if used.
14-
15-
.. versionadded:: 1.7
16-
interface: phpmethod
17-
operation: ~
18-
optional: true
1+
source:
2+
file: apiargs-MongoDBCollection-method-createIndex-option.yaml
3+
ref: commitQuorum
194
---
205
source:
216
file: apiargs-common-option.yaml

0 commit comments

Comments
 (0)