Files
gentoo/dev-libs/libbson/files/libbson-1.30.6-docutils-0.22.patch

57 lines
2.2 KiB
Diff

https://github.com/mongodb/mongo-c-driver/commit/b2345bc7ffc892806f11a4432da4334f7648c91e
From b2345bc7ffc892806f11a4432da4334f7648c91e Mon Sep 17 00:00:00 2001
From: Kevin Albertson <kevin.albertson@mongodb.com>
Date: Thu, 20 Nov 2025 13:21:06 -0500
Subject: [PATCH] CDRIVER-6133 fix docs build with docutils 0.22.2 (#2173)
* remove unused substitutions
* remove target references in substitutions
---
src/libmongoc/doc/conf.py | 24 ++++--------------------
1 file changed, 4 insertions(+), 20 deletions(-)
diff --git a/src/libmongoc/doc/conf.py b/src/libmongoc/doc/conf.py
index 2d36aa09f2..904ad3baee 100644
--- a/src/libmongoc/doc/conf.py
+++ b/src/libmongoc/doc/conf.py
@@ -128,24 +128,6 @@ def _maybe_update_inventories(app: Sphinx):
html_use_index = True
rst_prolog = rf"""
-.. |qenc:is-experimental| replace::
-
- is part of the experimental
- `Queryable Encryption <queryable-encryption_>`_ API and may be subject
- to breaking changes in future releases.
-
-.. |qenc:opt-is-experimental| replace::
-
- This option |qenc:is-experimental|
-
-.. |qenc:api-is-experimental| replace::
-
- This API |qenc:is-experimental|
-
-.. |qenc:range-is-experimental| replace::
-
- Range algorithm is experimental only and not intended for public use. It is subject to breaking changes.
-
.. _the findAndModify command:
https://www.mongodb.com/docs/manual/reference/command/findAndModify/
@@ -188,10 +170,12 @@ def _maybe_update_inventories(app: Sphinx):
:cmake:command:`find_package() <command:find_package>`
.. |bson_t-storage-ptr| replace::
- non-``NULL`` pointer to `overwritable storage <bson_lifetimes_>`_ for a :symbol:`bson_t`
+ non-``NULL`` pointer to `overwritable storage`_ for a :symbol:`bson_t`
.. |bson_t-opt-storage-ptr| replace::
- maybe-``NULL`` pointer to `overwritable storage <bson_lifetimes_>`_ for a :symbol:`bson_t`
+ maybe-``NULL`` pointer to `overwritable storage`_ for a :symbol:`bson_t`
+
+.. _overwritable storage: https://www.mongodb.com/docs/languages/c/c-driver/current/libbson/guides/lifetimes/#overwritable-storage
.. |encrypt-text-is-experimental| replace::
The "TextPreview" algorithm is in preview and should be used for experimental workloads only.