diff --git a/doc/reference.html b/doc/reference.html index bd87c17..f0b617f 100644 --- a/doc/reference.html +++ b/doc/reference.html @@ -45,9 +45,8 @@ div.contents h2 { div.contents ul.contents { font-size: 80%; } -.availability { -} .class { + border-bottom: solid 2px gray; } .constants { } @@ -57,8 +56,10 @@ div.contents ul.contents { .discussion { } .enumeration { + border-bottom: solid 2px gray; } .function { + border-bottom: solid 2px gray; margin-bottom: 0; } .members { @@ -68,10 +69,13 @@ div.contents ul.contents { .returnvalue { } .struct { + border-bottom: solid 2px gray; } .typedef { + border-bottom: solid 2px gray; } .union { + border-bottom: solid 2px gray; } .variable { } @@ -120,7 +124,7 @@ div.body dd { margin-bottom: 0.5em; } h1.title, h2.title, h3.title { - border-bottom: solid 1px black; + border-bottom: solid 2px black; } --> diff --git a/mxmldoc.c b/mxmldoc.c index a94be07..3a54a66 100644 --- a/mxmldoc.c +++ b/mxmldoc.c @@ -2734,8 +2734,9 @@ write_function(FILE *out, /* I - Output file */ description = mxmlFindElement(function, function, "description", NULL, NULL, MXML_DESCEND_FIRST); - fprintf(out, "%s%s\n", - level, get_comment_info(description), name, name, level); + fprintf(out, "%s%s\n", + level, level == 3 ? "function" : "method", + get_comment_info(description), name, name, level); if (description) write_description(out, description, "p", 1); @@ -3343,9 +3344,8 @@ write_html_head(FILE *out, /* I - Output file */ "div.contents ul.contents {\n" " font-size: 80%;\n" "}\n" - ".availability {\n" - "}\n" ".class {\n" + " border-bottom: solid 2px gray;\n" "}\n" ".constants {\n" "}\n" @@ -3355,21 +3355,28 @@ write_html_head(FILE *out, /* I - Output file */ ".discussion {\n" "}\n" ".enumeration {\n" + " border-bottom: solid 2px gray;\n" "}\n" ".function {\n" + " border-bottom: solid 2px gray;\n" " margin-bottom: 0;\n" "}\n" ".members {\n" "}\n" + ".method {\n" + "}\n" ".parameters {\n" "}\n" ".returnvalue {\n" "}\n" ".struct {\n" + " border-bottom: solid 2px gray;\n" "}\n" ".typedef {\n" + " border-bottom: solid 2px gray;\n" "}\n" ".union {\n" + " border-bottom: solid 2px gray;\n" "}\n" ".variable {\n" "}\n" @@ -3417,8 +3424,13 @@ write_html_head(FILE *out, /* I - Output file */ "div.body dd {\n" " margin-bottom: 0.5em;\n" "}\n" - "h1.title, h2.title, h3.title {\n" - " border-bottom: solid 1px black;\n" + "h1.title {\n" + "}\n" + "h2.title {\n" + " border-bottom: solid 2px black;\n" + "}\n" + "h3.title {\n" + " border-bottom: solid 2px black;\n" "}\n", out); }