Lines Matching defs:html

30 to a file named "<name>.html".
514 docloc = "{}/{}.html".format(docloc.rstrip("/"), object.__name__.lower())
516 docloc = os.path.join(docloc, object.__name__.lower() + ".html")
577 <!DOCTYPE html>
578 <html lang="en">
584 </body></html>''' % (title, contents)
652 return '<a href="%s.html#%s">%s</a>' % (
658 return '<a href="%s.html">%s</a>' % (object.__name__, object.__name__)
666 url = '%s.%s.html' % (path, name)
668 url = '%s.html' % name
752 '<a href="%s.html" class="white">%s</a>' %
796 cdict[key] = cdict[base] = modname + '.html#' + key
1090 """Produce html documentation for a data descriptor."""
1737 html = HTMLDoc()
1791 page = html.page(describe(object), html.document(object, name))
1792 with open(name + '.html', 'w', encoding='utf-8') as file:
1794 print('wrote', name + '.html')
2157 result directly so it can be formatted for display in an html page.
2359 content_type = 'text/html'
2439 def _url_handler(url, content_type="text/html"):
2445 If the content_type is 'text/html', then the result of
2458 <html lang="en">
2463 </body></html>''' % (title, css_link, html_navbar(), contents)
2466 html = _HTMLDoc()
2469 version = html.escape("%s [%s, %s]" % (platform.python_version(),
2478 <a href="index.html">Module Index</a>
2479 : <a href="topics.html">Topics</a>
2480 : <a href="keywords.html">Keywords</a>
2493 """ % (version, html.escape(platform.platform(terse=True)))
2499 return '<a href="%s.html">%s</a>' % (name, name)
2501 heading = html.heading(
2506 contents = html.multicolumn(names, bltinlink)
2507 contents = [heading, '<p>' + html.bigsection(
2512 contents.append(html.index(dir, seen))
2537 return '<a href="%s.html">%s</a>' % (name, name)
2540 heading = html.heading(
2545 contents = heading + html.bigsection(
2555 heading = html.heading(
2560 contents = html.multicolumn(names, bltinlink)
2561 contents = heading + html.bigsection(
2567 heading = html.heading(
2575 contents = html.multicolumn(names, bltinlink)
2576 contents = heading + html.bigsection(
2589 heading = html.heading(
2592 contents = '<pre>%s</pre>' % html.markup(contents)
2593 contents = html.bigsection(topic , 'index', contents)
2600 xrefs = html.multicolumn(xrefs, bltinlink)
2601 xrefs = html.section('Related help topics: ', 'index', xrefs)
2610 content = html.document(obj, url)
2614 heading = html.heading(
2617 contents = '<br>'.join(html.escape(line) for line in
2619 contents = heading + html.bigsection(url, 'error', contents)
2625 if url.endswith('.html'):
2660 return html.page(title, content)
2669 elif content_type == 'text/html':