~ubuntu-branches/ubuntu/hardy/swig1.3/hardy

« back to all changes in this revision

Viewing changes to Doc/Manual/makechap.py

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:16:04 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205011604-ygx904it6413k3go
Tags: 1.3.27-1ubuntu1
Resynchronise with Debian again, for the new subversion packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
 
71
71
lines = data.splitlines()
72
72
result = [ ] # This is the result of postprocessing the file
73
 
index = "<!-- INDEX -->\n" # index contains the index for adding at the top of the file. Also printed to stdout.
 
73
index = "<!-- INDEX -->\n<div class=\"sectiontoc\">\n" # index contains the index for adding at the top of the file. Also printed to stdout.
74
74
 
75
75
skip = 0
76
76
skipspace = 0
195
195
if section:
196
196
    index += "</ul>\n"
197
197
 
198
 
index += "<!-- INDEX -->\n"
 
198
index += "</div>\n<!-- INDEX -->\n"
199
199
 
200
200
data = "\n".join(result)
201
201