diff options
author | Fred Drake <fdrake@acm.org> | 2000-09-07 20:07:41 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-09-07 20:07:41 (GMT) |
commit | ae3a15c396ac91d00c1666d9344eaaaf13f4e311 (patch) | |
tree | 277090fba3a341c96d27e5c0373f44e3e48c6b87 /Doc/tools | |
parent | 31edf4defb6b6c6261fd10b09846d16785b2b1da (diff) | |
download | cpython-ae3a15c396ac91d00c1666d9344eaaaf13f4e311.zip cpython-ae3a15c396ac91d00c1666d9344eaaaf13f4e311.tar.gz cpython-ae3a15c396ac91d00c1666d9344eaaaf13f4e311.tar.bz2 |
Make the HTML more XHTML-friendly.
Small nits in the layout of the generated markup.
Diffstat (limited to 'Doc/tools')
-rwxr-xr-x | Doc/tools/mkmodindex | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/Doc/tools/mkmodindex b/Doc/tools/mkmodindex index 14568d1..45c7485 100755 --- a/Doc/tools/mkmodindex +++ b/Doc/tools/mkmodindex @@ -161,53 +161,53 @@ platform they are available on.</p> """ -NAVIGATION = """\ -<div class=navigation> -<table width="100%%" cellpadding=0 cellspacing=2> +NAVIGATION = '''\ +<div class="navigation"> +<table width="100%%" cellpadding="0" cellspacing="2"> <tr> -<td><img width=32 height=32 align=bottom border=0 alt="" +<td><img width="32" height="32" align="bottom" border="0" alt="" src="%(iconserver)s/blank.%(imgtype)s"></td> <td><a href="%(uplink)s" - title="%(uptitle)s"><img width=32 height=32 align=bottom border=0 + title="%(uptitle)s"><img width="32" height="32" align="bottom" border="0" alt="%(uplinkalt)s" src="%(iconserver)s/%(uplinkicon)s.%(imgtype)s"></a></td> -<td><img width=32 height=32 align=bottom border=0 alt="" +<td><img width="32" height="32" align="bottom" border="0" alt="" src="%(iconserver)s/blank.%(imgtype)s"></td> -<td align=center bgcolor="#99CCFF" width="100%%"> - <b class=title>%(title)s</b></td> -<td><img width=32 height=32 align=bottom border=0 alt="" +<td align="center" bgcolor="#99CCFF" width="100%%"> + <b class="title">%(title)s</b></td> +<td><img width="32" height="32" align="bottom" border="0" alt="" src="%(iconserver)s/blank.%(imgtype)s"></td> -<td><img width=32 height=32 align=bottom border=0 alt="" +<td><img width="32" height="32" align="bottom" border="0" alt="" src="%(iconserver)s/blank.%(imgtype)s"></td> -<td><img width=32 height=32 align=bottom border=0 alt="" +<td><img width="32" height="32" align="bottom" border="0" alt="" src="%(iconserver)s/blank.%(imgtype)s"></td> </tr></table> -<b class=navlabel>Up:</b> <span class=sectref><a href="%(uplink)s" +<b class="navlabel">Up:</b> <span class="sectref"><a href="%(uplink)s" title="%(uptitle)s">%(uptitle)s</A></span> <br></div> -""" +''' -HEAD = """\ +HEAD = '''\ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> -<title>Global Module Index</title> -<meta name="description" content="%(title)s"> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<link rel="STYLESHEET" href="lib/lib.css"> + <title>Global Module Index</title> + <meta name="description" content="%(title)s"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <link rel="STYLESHEET" href="lib/lib.css"> </head> <body bgcolor=white> -""" + NAVIGATION + """\ +''' + NAVIGATION + '''\ <hr> <h2>%(title)s</h2> -""" +''' -TAIL = "<hr>\n" + NAVIGATION + """\ +TAIL = "<hr>\n" + NAVIGATION + '''\ %(address)s</body> </html> -""" +''' if __name__ == "__main__": main() |