Home | History | Annotate | Download | only in python2.7

Lines Matching defs:html

3 """Generate Python documentation in HTML or text for interactive use.
25 Run "pydoc -w <name>" to write out the HTML documentation for a module
26 to a file named "<name>.html".
367 docloc = os.path.join(docloc, object.__name__ + ".html")
372 # -------------------------------------------- HTML documentation generator
375 """Class for safely making an HTML representation of a Python object."""
417 """Formatter class for HTML documentation."""
419 HTML formatting utilities
426 """Format an HTML page."""
428 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
429 <html><head><title>Python: %s</title>
432 </body></html>''' % (title, contents)
503 return '<a href="%s.html#%s">%s</a>' % (
509 return '<a href="%s.html">%s</a>' % (object.__name__, object.__name__)
517 url = '%s.%s.html' % (path, name)
519 url = '%s.html' % name
565 """Produce HTML for a class tree as given by inspect.getclasstree()."""
584 """Produce HTML documentation for a module object."""
594 '<a href="%s.html"><font color="#ffffff">%s</font></a>' %
643 cdict[key] = cdict[base] = modname + '.html#' + key
709 """Produce HTML documentation for a class object."""
865 """Produce HTML documentation for a function or method object."""
931 """Produce html documentation for a property."""
935 """Produce HTML documentation for a data object."""
940 """Produce html documentation for a data descriptor."""
944 """Generate an HTML index for a directory of modules."""
1488 html = HTMLDoc()
1537 """Write HTML documentation to a file in the current directory."""
1540 page = html.page(describe(object), html.document(object, name))
1541 file = open(name + '.html', 'w')
1544 print 'wrote', name + '.html'
1549 """Write out HTML documentation for all modules in a directory tree."""
2016 self.send_header('Content-Type', 'text/html')
2018 self.wfile.write(html.page(title, contents))
2023 if path[-5:] == '.html': path = path[:-5]
2029 self.send_document(path, html.escape(str(value)))
2032 self.send_document(describe(obj), html.document(obj, path))
2037 heading = html.heading(
2041 return '<a href="%s.html">%s</a>' % (name, name)
2044 contents = html.multicolumn(names, bltinlink)
2045 indices = ['<p>' + html.bigsection(
2050 indices.append(html.index(dir, seen))
2230 self.open(url=self.server.url + modname + '.html')
2354 Write out the HTML documentation for a module to a file in the current