Searched refs:link_text (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/tools/docs/ |
D | parser.py | 303 def python_link(self, link_text, ref_full_name, relative_path_to_root, argument 327 link_text = link_text.join(['<code>', '</code>']) 329 link_text = self._link_text_to_html(link_text) 331 return '<a href="{}">{}</a>'.format(url, link_text) 334 def _link_text_to_html(link_text): argument 336 return re.sub(code_re, r'<code>\1</code>', link_text) 384 link_text = string[dollar + 1:] 388 link_text = string 393 return self._doc_link(string, link_text, manual_link_text, 398 return self._cc_link(string, link_text, manual_link_text, [all …]
|
D | generate_lib.py | 373 self.link_text = (('%s > %s' % (title, section_title)) 377 return '[%s](%s%s)' % (self.link_text, url_prefix, self.url)
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | markdown_test.py | 105 link_text = 'Devil home' 111 self.assertEquals(expected, markdown.md_link(link_text, link_target)) 114 link_text = 'foo [] bar' 117 self.assertEquals(expected, markdown.md_link(link_text, link_target))
|
D | markdown.py | 61 def md_link(link_text, link_target): argument 64 md_escape(link_text, characters=']'),
|