diff --git a/etc/ayadoc/style.css b/etc/ayadoc/style.css index cc7595e..3bc27dd 100644 --- a/etc/ayadoc/style.css +++ b/etc/ayadoc/style.css @@ -35,6 +35,7 @@ a:link .aya-arg { text-decoration: underline; + color: #fabd2f; } .aya-name { diff --git a/tools/aya.c b/tools/aya.c index 0863ce5..2f26392 100644 --- a/tools/aya.c +++ b/tools/aya.c @@ -144,12 +144,10 @@ GenerateReturns(Stream *out, AyadocComment *ayadoc, HeaderDeclaration decl, char { if (StrEquals(val, "NOTHING")) { - StreamPrintf(out, " nothing."); + StreamPrintf(out, "Nothing."); return; } - StreamPrintf(out, ": "); - /* TODO: Split all arguments by the '|', and handle them automatically * (with live-alongs, special capped params, ... */ StreamPrintf(out, " %s", val); @@ -164,7 +162,7 @@ GenerateHTML(Stream *out, AyadocComment *ayadoc, HeaderDeclaration decl) StreamPrintf(out, "
", decl.name); { - StreamPrintf(out, "

%s


", decl.name); + StreamPrintf(out, "
"); StreamPrintf(out, "

Signature

"); StreamPrintf(out, "
", decl.name); @@ -221,7 +219,7 @@ GenerateHTML(Stream *out, AyadocComment *ayadoc, HeaderDeclaration decl) { /* TODO: Be a little more advanced. */ StreamPrintf(out, "
", decl.name); - StreamPrintf(out, "Returns"); + StreamPrintf(out, "

Returns

"); GenerateReturns(out, ayadoc, decl, value); StreamPrintf(out, "
"); StreamFlush(out); @@ -288,6 +286,8 @@ Main(Array *args, HashMap *env) StreamPrintf(output, ""); StreamPrintf(output, ""); + StreamPrintf(output, "

Ayaya!: %s

", header); + StreamPrintf(output, "
"); /* TODO */ { AyadocComment *comm = NULL;