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

69 lines
2.5 KiB
Diff

https://github.com/mongodb/mongo-c-driver/pull/2173
From 18143a0adc478c25df98619668635945b3f74278 Mon Sep 17 00:00:00 2001
From: Kevin Albertson <kevin.albertson@mongodb.com>
Date: Fri, 14 Nov 2025 13:36:04 -0500
Subject: [PATCH 1/2] remove unused substitutions
---
src/libmongoc/doc/conf.py | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/src/libmongoc/doc/conf.py b/src/libmongoc/doc/conf.py
index 009c33670f..7431bb55f0 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/
From 0466f8dd191c32fbe87585cb991192e080cae77a Mon Sep 17 00:00:00 2001
From: Kevin Albertson <kevin.albertson@mongodb.com>
Date: Fri, 14 Nov 2025 15:20:44 -0500
Subject: [PATCH 2/2] CDRIVER-6133 remove target references in substituions
---
src/libmongoc/doc/conf.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/libmongoc/doc/conf.py b/src/libmongoc/doc/conf.py
index 7431bb55f0..6fc8e28501 100644
--- a/src/libmongoc/doc/conf.py
+++ b/src/libmongoc/doc/conf.py
@@ -170,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
.. _mongodb_docs_cdriver: https://www.mongodb.com/docs/languages/c/c-driver/current/