From 10331a3ddb6c46f282cbc2b0ee260c9a1de6385e Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 19 Jul 2013 19:14:58 +0000 Subject: [PATCH] minor fix to reference documentation generator --- docs/gen_reference_doc.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/gen_reference_doc.py b/docs/gen_reference_doc.py index 293db4c01..6a3068ce8 100644 --- a/docs/gen_reference_doc.py +++ b/docs/gen_reference_doc.py @@ -473,11 +473,11 @@ for cat in categories: print >>out, '

%s

' % cat category_filename = categories[cat]['filename'] for c in categories[cat]['classes']: - print >>out, '%s
' % (category_filename, c['name'], c['name']) + print >>out, '%s %s
' % (category_filename, html_sanitize(c['name']), html_sanitize(c['type']), html_sanitize(c['name'])) for f in categories[cat]['functions']: - print >>out, '%s()
' % (category_filename, f['name'], f['name']) + print >>out, '%s()
' % (category_filename, html_sanitize(f['name']), html_sanitize(f['name'])) for e in categories[cat]['enums']: - print >>out, '%s
' % (category_filename, e['name'], e['name']) + print >>out, 'enum %s
' % (category_filename, html_sanitize(e['name']), html_sanitize(e['name'])) out.write('') out.close() @@ -533,8 +533,8 @@ for cat in categories: for e in c['enums']: if e['desc'] == '': continue - print >>out, '

%s

' % (html_sanitize(e['name']), html_sanitize(e['name'])) - print >>out, '' + print >>out, '

enum %s

' % (html_sanitize(e['name']), html_sanitize(c['name']), html_sanitize(e['name'])) + print >>out, '
enum valuedescription
' for v in e['values']: print >>out, '' % (html_sanitize(v['name']), html_sanitize(v['desc'])) print >>out, '
valuedescription
%s%s
' @@ -553,9 +553,9 @@ for cat in categories: print >>out, '

%s

' % html_sanitize(f['desc']) for e in enums: - print >>out, '

%s

' % (html_sanitize(e['name']), html_sanitize(e['name'])) + print >>out, '

enum %s

' % (html_sanitize(e['name']), html_sanitize(e['name'])) print_declared_in(out, e) - print >>out, '' + print >>out, '
enum valuedescription
' for v in e['values']: print >>out, '' % (html_sanitize(v['name']), html_sanitize(v['desc'])) print >>out, '
valuedescription
%s%s
'