doc: wikiparser: Add note about some incorrect links

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2020-08-28 12:10:38 -04:00
1 parent 4f8f5b5c31
commit 72ca92224d
1 file changed
+7 -1
+7 -1
View File
@@ -557,7 +557,13 @@ def map_local_files(path):
def resolve_url(url, context):
"""Expand a URL into a full path."""
"""Expand a URL into a full path.
XXX: Links inside the included pages are resolved properly. However,
without the original path of a page, links in page can't always be resolved
correctly. Preserve the original path information.
"""
if re.match(r'https?://', url) or url.startswith('mailto:') or \
url.startswith('irc://'):
return url