Lines Matching refs:link
22 for link in r:
23 links += [(doc, link)]
25 def filter_link((doc, link)): argument
26 if link.startswith('http'):
28 if link.startswith('#'):
34 def fix_link((doc, link)): argument
35 link = link.split('#')[0]
36 link = link.split('?')[0]
37 return (doc, link)
43 def check_link((doc, link)): argument
46 if link[0] == '/':
47 link = link[1:]
48 full_link = os.path.join(root, link)
50 full_link = os.path.join(root, path, link)
55 for link in links:
56 if not check_link(link):
57 errors += [link]
63 for (doc, link) in errors:
64 print 'File %s linked from %s not found' % (link, doc)