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:
parent
76bbe4053b
commit
7633e98eea
59 changed files with 1052 additions and 578 deletions
29
DocPrototype/functions.js
Normal file
29
DocPrototype/functions.js
Normal 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;
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue