doc: fix web links from source code

This commit is contained in:
Matthias Ringwald 2024-03-28 23:22:53 +01:00
parent a8681bdb71
commit c0947075b6

View File

@ -56,6 +56,9 @@ def processTextLine(line):
line.rstrip()
# add missing https://
line = line.replace("developer.apple.com","https://developer.apple.com")
if isTextTag(line):
text_line_parts = re.match(r'.*(@text\s*)(.*)', line)
return text_line_parts.group(2).lstrip() + " "