about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-05-04 15:38:03 +0200
committerMichael Biebl <biebl@debian.org>2022-05-04 15:38:03 +0200
commitfc1f1b6881ed5199b4cc81face915769a3dc9897 (patch)
treed2b3f6b775541cece8de7ef9e687c72665f5d820 /tools
parent16cc38ed3d1761b178512c9a6c291ad366c6fad8 (diff)
parent9959fdb2e8ddd06f2161798ca0a39c77d67c652d (diff)
Update upstream source from tag 'upstream/1.37.92'
Update to upstream version '1.37.92'
with Debian dir 0128b715b1fc3e516169a4599c33567587d59088
Diffstat (limited to 'tools')
-rwxr-xr-xtools/generate-docs-nm-settings-docs-gir.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/generate-docs-nm-settings-docs-gir.py b/tools/generate-docs-nm-settings-docs-gir.py
index 6df85190..8fc6db70 100755
--- a/tools/generate-docs-nm-settings-docs-gir.py
+++ b/tools/generate-docs-nm-settings-docs-gir.py
@@ -149,7 +149,13 @@ def get_docs(propxml):
     doc = re.sub(r"#([A-Z]\w*)", r"\1", doc)
 
     # Remove sentences that refer to functions
-    doc = re.sub(r"\.\s+[^.]*\w\(\)[^.]*\.", r".", doc)
+    if "FindProxyForURL()" in doc:
+        # FIXME: this would break the description for "proxy.pac-script"
+        # Work around. But really the entire approach here is flawed
+        # and needs improvement.
+        pass
+    else:
+        doc = re.sub(r"\.\s+[^.]*\w\(\)[^.]*\.", r".", doc)
 
     return doc