We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aa6d84 commit d2c972cCopy full SHA for d2c972c
1 file changed
oembedpy/adapters/sphinx.py
@@ -93,6 +93,12 @@ def resolve_any_xref(
93
return []
94
95
def merge_domaindata(self, docnames: list[str], otherdata) -> None:
96
+ """Merge domain data from parallel builds.
97
+
98
+ This method merges cached oEmbed content from parallel build environments.
99
+ The merge strategy prioritizes entries with longer expiration times to ensure
100
+ the most up-to-date and longest-lived cached content is retained.
101
+ """
102
other_caches = otherdata.get("caches", {})
103
for cache_key, content in other_caches.items():
104
if cache_key not in self.caches:
0 commit comments