summaryrefslogtreecommitdiff
path: root/ext/ply/doc/makedoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ply/doc/makedoc.py')
-rw-r--r--ext/ply/doc/makedoc.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/ply/doc/makedoc.py b/ext/ply/doc/makedoc.py
index 3eed9bd74..415a53aa0 100644
--- a/ext/ply/doc/makedoc.py
+++ b/ext/ply/doc/makedoc.py
@@ -93,7 +93,7 @@ for s in lines:
result.append("")
result.append("")
skipspace = 0
-
+
m = h2.match(s)
if m:
prevheadingtext = m.group(2)
@@ -115,7 +115,7 @@ for s in lines:
subsection = 0
subsubsection = 0
subsubsubsection = 0
- skipspace = 1
+ skipspace = 1
continue
m = h3.match(s)
if m:
@@ -134,7 +134,7 @@ for s in lines:
index += """<li><a href="#%s">%s</a>\n""" % (headingname,prevheadingtext)
subsubsection = 0
- skipspace = 1
+ skipspace = 1
continue
m = h4.match(s)
if m:
@@ -151,7 +151,7 @@ for s in lines:
index += "<ul>\n"
index += """<li><a href="#%s">%s</a>\n""" % (headingname,prevheadingtext)
- skipspace = 1
+ skipspace = 1
continue
m = h5.match(s)
if m:
@@ -167,7 +167,7 @@ for s in lines:
index += """<li><a href="#%s">%s</a>\n""" % (headingname,prevheadingtext)
skipspace = 1
continue
-
+
result.append(s)
if subsubsubsection: