From 819948e9692d06d2a5474ab3f931760c33c1495b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Mon, 16 May 2022 23:27:26 +0200 Subject: [PATCH] Handle remaining link types. --- scripts/generate.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/generate.py b/scripts/generate.py index 921f805..833d221 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -116,7 +116,15 @@ def main(src_top, dest_top): links.append({'target': l.value}) elif l.value.startswith('attachment:'): pass # Ignore, attachment - elif l.value.startswith('* '): + elif l.value.startswith('file:'): + pass # Ignore, attachment + elif l.value.startswith('notmuch:'): + pass # Ignore, mail + elif l.value.startswith('orgit-rev:'): + pass # Ignore, mail + elif l.value.startswith('*'): + pass # Ignore, internal + elif not ':' in l.value.split()[0]: pass # Ignore, internal elif l.value.startswith('./'): pass # TODO: Properly handle