summaryrefslogtreecommitdiff
path: root/macro2html.py
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2009-07-20 03:43:37 +0200
committerPeter Simons <simons@cryp.to>2009-07-20 03:43:37 +0200
commit8774d27eebcc9307bbcb6012bc8af6e369132b2c (patch)
treeb500547a401b2d433c7bb81cb55f691d2495c45a /macro2html.py
parentcfe0a572267cacfde87958ae50d88863f7c9aa58 (diff)
downloadautoconf-archive-8774d27eebcc9307bbcb6012bc8af6e369132b2c.tar.gz
macro2html.py: don't use the 'indent' class anymore, it's gone from CSS
Diffstat (limited to 'macro2html.py')
-rwxr-xr-xmacro2html.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/macro2html.py b/macro2html.py
index 3652670..7a81316 100755
--- a/macro2html.py
+++ b/macro2html.py
@@ -13,7 +13,7 @@ opts.add_option('', "--output-encoding", dest = "outEncode", default = "latin1")
opts.add_option('', "--output-dir", dest = "outDir", default = "stage")
opts.add_option('', "--output-suffix", dest = "suffix", default = ".html")
(options, args) = opts.parse_args()
-# www.nongnu.org/autoconf-archive/
+
tmpl = """\
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
@@ -38,7 +38,7 @@ tmpl = """\
<td style="width:33%%;" align="center" valign="top">
<form method="get" action="http://www.google.com/search">
<div>
- <input name="sitesearch" value="autoconf-archive.cryp.to" type=
+ <input name="sitesearch" value="www.nongnu.org/autoconf-archive/" type=
"hidden">Search: <input name="q" maxlength="255" type="text">
</div>
</form>
@@ -53,19 +53,19 @@ tmpl = """\
<h2>
SYNOPSIS
</h2>
- <p class="indent" style="white-space:nowrap;">
+ <p style="white-space:nowrap;">
%(synopsis)s
</p>
<h2>
DESCRIPTION
</h2>
- <div class="indent">
+ <div>
%(description)s
</div>
<h2>
SOURCE CODE
</h2>
- <p class="indent">
+ <p>
Download <a href=
"http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=%(name)s.m4">
%(name)s.m4</a> or browse the <a href=
@@ -75,12 +75,10 @@ tmpl = """\
<h2>
LICENSE
</h2>
- <div class="indent">
<p style="white-space:nowrap;">
%(authors)s
</p>
%(license)s
- </div>
</body>
</html>
"""