Skip to content

Commit e3c3525

Browse files
authored
MongoDB: Fix docs errors for 2.0 version (#4662)
* Add missing methods to BulkWriteException docs * Add missing changelog to BSON interfaces
1 parent bf672f5 commit e3c3525

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

reference/mongodb/bson/persistable/bsonserialize.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
</row>
6060
</thead>
6161
<tbody>
62+
&mongodb.changelog.tentative-return-types-enforced;
6263
<row>
6364
<entry>PECL mongodb 1.17.0</entry>
6465
<entry>

reference/mongodb/bson/serializable/bsonserialize.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
</row>
6464
</thead>
6565
<tbody>
66+
&mongodb.changelog.tentative-return-types-enforced;
6667
<row>
6768
<entry>PECL mongodb 1.17.0</entry>
6869
<entry>

reference/mongodb/bson/unserializable/bsonunserialize.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,24 @@
5252
</para>
5353
</refsect1>
5454

55+
<refsect1 role="changelog">
56+
&reftitle.changelog;
57+
<para>
58+
<informaltable>
59+
<tgroup cols="2">
60+
<thead>
61+
<row>
62+
<entry>&Version;</entry>
63+
<entry>&Description;</entry>
64+
</row>
65+
</thead>
66+
<tbody>
67+
&mongodb.changelog.tentative-return-types-enforced;
68+
</tbody>
69+
</tgroup>
70+
</informaltable>
71+
</para>
72+
</refsect1>
5573

5674
<refsect1 role="examples">
5775
&reftitle.examples;

reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
<!-- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('runtimeexception.synopsis')/descendant::db:fieldsynopsis)" /> -->
5454
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('exception.synopsis')/descendant::db:fieldsynopsis)" />
5555

56+
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
57+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-exception-bulkwriteexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
58+
5659
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
5760
<!-- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-exception-serverexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />-->
5861
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-driver-exception-runtimeexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
@@ -111,6 +114,8 @@
111114
</section>
112115
</partintro>
113116

117+
&reference.mongodb.mongodb.driver.exception.entities.bulkwriteexception;
118+
114119
</reference>
115120

116121
<!-- Keep this comment at the end of the file

0 commit comments

Comments
 (0)