> http://sirg3.homeip.net/files/RbDocGen%20Preview.zip
Amazing!
Try it out, everyone.
Here are a few pointers:
- look into the templates folder. there you find .rhtml files. they
function like .php files: you write your html layout and embed some
rbscript code.
- the embedding works by either of these tags:
<? ... ?> --- for rb statements
<?= ... ?> --- for rb string expressions
- to see what functions you can call, look into the "includes" folder.
here's an example how i modified "class.rhtml" in order to make the
functions show not just their name but also their parms:
<? for each meth as RBMemberMethod in classItem.methods ?>
<li>
<?
if meth.returnType = "" then
print "sub " + meth.name + " (" + meth.parameterDeclaration + ")"
else
print "function " + meth.name + " (" + meth.parameterDeclaration +
") as " + meth.returnType
end
?>
</li>
<? next ?>
SirG3's a real wizard.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|