1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00

improvement of the stylesheets, fixed a API generation problem, switched

* doc/Makefile.am doc/apibuild.py doc/libxml2-api.xml doc/newapi.xsl:
  improvement of the stylesheets, fixed a API generation problem,
  switched the stylesheet and Makefile to build the HTML output.
* doc/html/*.html: complete update, ditched some old files, might
  introduce some breakage...
Daniel
This commit is contained in:
Daniel Veillard
2003-11-17 13:58:17 +00:00
parent 0b3d9b8d30
commit 2925c0a0f4
53 changed files with 10780 additions and 23969 deletions

View File

@@ -49,6 +49,12 @@ def escape(raw):
raw = string.replace(raw, '"', '"')
return raw
def uniq(items):
d = {}
for item in items:
d[item]=1
return d.keys()
class identifier:
def __init__(self, name, module=None, type=None, lineno = 0,
info=None, extra=None):
@@ -1497,7 +1503,7 @@ class docBuilder:
dict.macros.keys() + dict.typedefs.keys() + \
dict.structs.keys() + dict.enums.keys()
ids.sort()
for id in ids:
for id in uniq(ids):
output.write(" <exports symbol='%s'/>\n" % (id))
output.write(" </file>\n")