diff --git a/apidoc.css b/apidoc.css index fe1a4df..fa45a45 100644 --- a/apidoc.css +++ b/apidoc.css @@ -1,14 +1,17 @@ body { font-size: 0.9em; + color: #666666; } h1 { font-size: 1.2em; font-weight: bold; + color: black; } h2 { font-size: 1.0em; font-weight: bold; margin-bottom: 0px; + color: #666666; } .apidoc { margin-left: 50px; diff --git a/apidoc.php b/apidoc.php index fe7ee9e..77ed9e5 100644 --- a/apidoc.php +++ b/apidoc.php @@ -36,13 +36,14 @@ unset($cmd); } } +ksort($commands); foreach($commands AS $c=>$com) { echo "

".htmlspecialchars($c)."

"; echo "
\n"; echo $com['description']; echo "
"; if(count($com['post'])) { - echo "

POST

\n"; + echo "

Post

\n"; echo ""; } if(count($com['return'])) { - echo "

RETURN

\n"; + echo "

Return

\n"; echo "