major overhaul of the manage app's api-documentation functions.

things can now be rendered to static html, new helma features are
supported (prototype extension), everyhting is done in a nice and
clean way with skins.
This commit is contained in:
stefanp 2002-11-21 18:36:03 +00:00
parent 76bbe4053b
commit 7633e98eea
59 changed files with 1052 additions and 578 deletions

29
DocPrototype/functions.js Normal file
View file

@ -0,0 +1,29 @@
///**
// * utility function for head_macro, rendering link to app and to prototype
// */
//function getPath() {
// var appObj = this.getParentElement ();
// var str = appObj.getPath();
// str += '/<a href="' + this.href("main") + '">' + this.name + '</a>';
// return( str );
//}
function translateType (filter) {
if (filter=="actions")
return Packages.helma.doc.DocElement.ACTION;
else if (filter=="templates")
return Packages.helma.doc.DocElement.TEMPLATE;
else if (filter=="functions")
return Packages.helma.doc.DocElement.FUNCTION;
else if (filter=="macros")
return Packages.helma.doc.DocElement.MACRO;
else if (filter=="skins")
return Packages.helma.doc.DocElement.SKIN;
else
return -1;
}