Remove reference to git:// links.

This commit is contained in:
Sergio Martínez Portela 2022-10-23 18:33:00 +02:00
parent 4d3997bce1
commit 3e9f323b56

View File

@ -420,8 +420,6 @@ def render_text_tokens(tokens, acc, headline, graph):
link_target = './' + graph['main_headlines'][target_path].id + '.node.html' link_target = './' + graph['main_headlines'][target_path].id + '.node.html'
elif link_target.startswith('attachment:'): elif link_target.startswith('attachment:'):
logging.warn('Not implemented `attachment:` links. Used on {}'.format(link_target)) logging.warn('Not implemented `attachment:` links. Used on {}'.format(link_target))
elif link_target.startswith('git://'):
logging.warn('Not implemented `git://`. Used on {}'.format(link_target))
elif link_target.startswith('* '): elif link_target.startswith('* '):
target_headline = get_headline_with_name(link_target.lstrip('* '), headline.doc) target_headline = get_headline_with_name(link_target.lstrip('* '), headline.doc)
if target_headline is None: if target_headline is None: