buildSDK/dependancy_ui.txt
[roojs1] / buildSDK / docs_build.js
1 //<script type="text/javascript">
2
3 /**
4  * Will be depreciated = replaced with seed...
5  * 
6  * @version $Id: main.js 570 2008-04-07 23:54:50Z micmath $
7  * 
8  * 
9  * Usage:
10  * 
11  * - in the top level directory.
12  * roolite -L/path/to/rooscript/examples/jstoolkit buildSDK/docs_build.js
13  * 
14  * 
15  * 
16  * 
17  */
18
19
20  
21
22 include "lib/JSDOC.js";
23 //include "frame/Opt.js";
24
25
26 var cwd = File.getcwd();
27
28 if (!File.exists(cwd+'/Roo.js')) {
29     throw "needs to be run from the same directory as Roo.js";
30 }
31  
32         // configure it!!! -- see buildDocs.js in the rooscript/jstookit/exammples directory..
33     
34 JSDOC.build(
35     {
36         _ : [ "Roo.js", "Array.js", "Date.js" , "Function.js" , "Number.js", "String.js", "Roo" ],
37         // these are commented out for test builds
38         //_ : [          "Roo.js",  "Roo/Component.js", "Roo/util/Observable.js", "Roo/DatePicker.js", "Roo/data/Connection.js", "Roo/BasicLayoutRegion.js",
39         //    "Roo/form/Action.js" , "Roo/grid/GridEditor.js", "Roo/Editor.js"   ],
40         //_ : [   "Roo/form/BasicForm.js" ],
41         //_ : [          "Roo.js"],
42         t : cwd + "/buildSDK/doc_templates/", // fixme - I think we should move doc templates to here...
43         r : true,
44         d : cwd + '/docs/',
45         v : true,
46         
47         //C: true, // true = disable caching.
48         C: false, // true = disable caching.
49         
50         c: false,
51         x: false,
52         p: false,
53         a: false,
54         e: '',
55         n: false,
56         o: false,
57         s: false,
58         T: false,
59         h: false,
60         D: [],
61         H: [],
62          
63         usage : function()
64         {
65             throw "oops - something has gone wrong";
66         },
67         LOG : {
68             warn : function(str) {
69                 println("Warn: " +str );
70             },
71             inform : function(str) {
72                 println("Inform: " +str );
73             },
74             close : function() { },
75             flush : function() { },
76             out: false,
77             warnings : [],
78             verbose : false
79                 
80         }
81         
82     }
83 );