1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

fixed Bug130593. fixed a couple of sequence problems on references within

* configure.in: fixed Bug130593.
* doc/apibuild.py: fixed a couple of sequence problems on
  references within APIxxx.html files, rebuild doc/* (and NEWS)
This commit is contained in:
William M. Brack
2004-01-06 15:41:32 +00:00
parent 2aee656e81
commit c3a88317d5
10 changed files with 711 additions and 811 deletions

View File

@ -1666,11 +1666,11 @@ class docBuilder:
module = self.modulename_file(file)
output.write(" <file name='%s'>\n" % (module))
dict = self.headers[file]
ids = dict.functions.keys() + dict.variables.keys() + \
ids = uniq(dict.functions.keys() + dict.variables.keys() + \
dict.macros.keys() + dict.typedefs.keys() + \
dict.structs.keys() + dict.enums.keys()
dict.structs.keys() + dict.enums.keys())
ids.sort()
for id in uniq(ids):
for id in ids:
output.write(" <ref name='%s'/>\n" % (id))
output.write(" </file>\n")
pass
@ -1699,8 +1699,11 @@ class docBuilder:
output.write(" <type name='%s'>\n" % (type))
ids = funcs[type]
ids.sort()
pid = '' # not sure why we have dups, but get rid of them!
for id in ids:
output.write(" <ref name='%s'/>\n" % (id))
if id != pid:
output.write(" <ref name='%s'/>\n" % (id))
pid = id
output.write(" </type>\n")
def serialize_xrefs_constructors(self, output):
@ -1725,6 +1728,7 @@ class docBuilder:
continue
output.write(" <type name='%s'>\n" % (type))
ids = funcs[type]
ids.sort()
for id in ids:
output.write(" <ref name='%s'/>\n" % (id))
output.write(" </type>\n")
@ -1783,7 +1787,7 @@ class docBuilder:
tokens = index[id];
tokens.sort()
tok = None
for token in index[id]:
for token in tokens:
if tok == token:
continue
tok = token