├── .gitignore
├── vendor
└── jsdoc-toolkit
│ ├── jsdoc-toolkit
│ ├── app
│ ├── test
│ │ ├── shared2.js
│ │ ├── scripts
│ │ │ ├── code.js
│ │ │ └── notcode.txt
│ │ ├── encoding_other.js
│ │ ├── public.js
│ │ ├── encoding.js
│ │ ├── prototype_nested.js
│ │ ├── global.js
│ │ ├── ignore.js
│ │ ├── nocode.js
│ │ ├── anon_inner.js
│ │ ├── params_optional.js
│ │ ├── prototype_oblit.js
│ │ ├── static_this.js
│ │ ├── variable_redefine.js
│ │ ├── inner.js
│ │ ├── exports.js
│ │ ├── oblit_anon.js
│ │ ├── prototype.js
│ │ ├── name.js
│ │ ├── module.js
│ │ ├── memberof_constructor.js
│ │ ├── memberof3.js
│ │ ├── shortcuts.js
│ │ ├── namespace_nested.js
│ │ ├── borrows2.js
│ │ ├── memberof.js
│ │ ├── tosource.js
│ │ ├── augments2.js
│ │ ├── constructs.js
│ │ ├── addon.js
│ │ ├── augments.js
│ │ ├── overview.js
│ │ ├── prototype_oblit_constructor.js
│ │ ├── synonyms.js
│ │ ├── config.js
│ │ ├── globals.js
│ │ ├── lend.js
│ │ ├── memberof2.js
│ │ ├── multi_methods.js
│ │ ├── shared.js
│ │ ├── functions_anon.js
│ │ ├── param_inline.js
│ │ ├── functions_nested.js
│ │ ├── borrows.js
│ │ └── event.js
│ ├── frame
│ │ ├── Namespace.js
│ │ ├── Reflection.js
│ │ ├── Hash.js
│ │ ├── String.js
│ │ ├── Chain.js
│ │ ├── Opt.js
│ │ ├── Testrun.js
│ │ ├── Dumper.js
│ │ └── Link.js
│ ├── plugins
│ │ ├── symbolLink.js
│ │ ├── functionCall.js
│ │ ├── commentSrcJson.js
│ │ ├── frameworkPrototype.js
│ │ ├── tagParamConfig.js
│ │ ├── tagSynonyms.js
│ │ └── publishSrcHilite.js
│ ├── t
│ │ ├── runner.js
│ │ └── TestDoc.js
│ ├── lib
│ │ ├── JSDOC
│ │ │ ├── Token.js
│ │ │ ├── TextStream.js
│ │ │ ├── Util.js
│ │ │ ├── PluginManager.js
│ │ │ ├── TokenStream.js
│ │ │ ├── Lang.js
│ │ │ ├── JsPlate.js
│ │ │ ├── JsDoc.js
│ │ │ ├── Parser.js
│ │ │ ├── DocComment.js
│ │ │ ├── SymbolSet.js
│ │ │ ├── TokenReader.js
│ │ │ └── DocTag.js
│ │ └── JSDOC.js
│ ├── handlers
│ │ ├── XMLDOC
│ │ │ ├── XMLDoc.js
│ │ │ ├── DomReader.js
│ │ │ └── XMLParse.js
│ │ ├── XMLDOC.js
│ │ └── FOODOC.js
│ ├── frame.js
│ ├── main.js
│ └── run.js
│ ├── templates
│ └── jsdoc
│ │ ├── static
│ │ ├── header.html
│ │ ├── index.html
│ │ └── default.css
│ │ ├── allclasses.tmpl
│ │ ├── symbol.tmpl
│ │ ├── index.tmpl
│ │ ├── allfiles.tmpl
│ │ └── publish.js
│ ├── jsrun.jar
│ ├── jsdebug.jar
│ ├── java
│ ├── classes
│ │ └── js.jar
│ ├── src
│ │ ├── JsRun.java
│ │ └── JsDebugRun.java
│ ├── build.xml
│ └── build_1.4.xml
│ ├── conf
│ └── sample.conf
│ ├── jsrun.sh
│ ├── README.txt
│ └── changes.txt
├── monit.txt
├── install.sh
├── server.js
├── package.json
├── engine.js
├── worker.js
└── config.json
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/jsdoc-toolkit:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/shared2.js:
--------------------------------------------------------------------------------
1 | startOver = function(){
2 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/templates/jsdoc/static/header.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/scripts/code.js:
--------------------------------------------------------------------------------
1 | /**
2 | @class
3 | */
4 | function thisiscode() {
5 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/scripts/notcode.txt:
--------------------------------------------------------------------------------
1 | (This is not code)
2 | function foo(){{{{
3 | (
4 | !
5 | @
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/jsrun.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andris9/documentor-worker/master/vendor/jsdoc-toolkit/jsrun.jar
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/jsdebug.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andris9/documentor-worker/master/vendor/jsdoc-toolkit/jsdebug.jar
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/java/classes/js.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andris9/documentor-worker/master/vendor/jsdoc-toolkit/java/classes/js.jar
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/encoding_other.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andris9/documentor-worker/master/vendor/jsdoc-toolkit/app/test/encoding_other.js
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/public.js:
--------------------------------------------------------------------------------
1 | /**@constructor*/
2 | function Foo() {
3 | /**
4 | @public
5 | @static
6 | @field
7 | */
8 | var bar = function(x) {
9 | }
10 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/encoding.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * @Constructor
4 | * @desc 配置文件
5 | * @class 什么也不返回
6 | */
7 | function Test(conf) {
8 | // do something;
9 | }
10 |
11 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/prototype_nested.js:
--------------------------------------------------------------------------------
1 | /** @constructor */
2 | function Word() {
3 | }
4 |
5 | Word.prototype.reverse = function() {
6 | }
7 |
8 | Word.prototype.reverse.utf8 = function() {
9 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/global.js:
--------------------------------------------------------------------------------
1 | /** ecks */
2 | var x = [1, 2, 4];
3 |
4 | var y = {
5 | foo: function(){
6 | }
7 | }
8 |
9 | bar = function() {
10 | }
11 |
12 | function zop() {
13 | }
14 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/ignore.js:
--------------------------------------------------------------------------------
1 | /**
2 | * A test constructor.
3 | * @constructor
4 | * @ignore
5 | */
6 | function Ignored() {
7 | /** a method */
8 | this.bar = function() {
9 | }
10 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/nocode.js:
--------------------------------------------------------------------------------
1 | /**#nocode+*/
2 | /**
3 | @name star
4 | @function
5 | */
6 | function blahblah() {
7 |
8 | }
9 | /**#nocode-*/
10 |
11 | function yaddayadda() {
12 |
13 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/frame/Namespace.js:
--------------------------------------------------------------------------------
1 | _global_ = this;
2 |
3 | function Namespace(name, f) {
4 | var n = name.split(".");
5 | for (var o = _global_, i = 0, l = n.length; i < l; i++) {
6 | o = o[n[i]] = o[n[i]] || {};
7 | }
8 |
9 | if (f) f();
10 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/anon_inner.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @name bar
3 | * @namespace
4 | */
5 |
6 | new function() {
7 | /**
8 | * @name bar-foo
9 | * @function
10 | * @param {number} x
11 | */
12 | function foo(x) {
13 | }
14 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/params_optional.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * @param {Page[]} pages
4 | * @param {number} [id] Specifies the id, if applicable.
5 | * @param {String} [title = This is untitled.] Specifies the title.
6 | */
7 | function Document(pages, id, title){
8 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/prototype_oblit.js:
--------------------------------------------------------------------------------
1 | /** @constructor */
2 | function Article() {
3 | }
4 |
5 | Article.prototype = {
6 | /** instance get title */
7 | getTitle: function(){
8 | }
9 | }
10 |
11 | /** static get title */
12 | Article.getTitle = function(){
13 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/static_this.js:
--------------------------------------------------------------------------------
1 | /** the parent */
2 | var box = {};
3 |
4 | /** @namespace */
5 | box.holder = {}
6 |
7 | box.holder.foo = function() {
8 | /** the counter */
9 | this.counter = 1;
10 | }
11 |
12 | box.holder.foo();
13 | print(box.holder.counter);
14 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/variable_redefine.js:
--------------------------------------------------------------------------------
1 | /** @constructor */
2 | function Foo() {
3 | var bar = 1;
4 | bar = 2; // redefining a private
5 |
6 | this.baz = 1;
7 | baz = 2; // global
8 |
9 | /** a private */
10 | var blap = {
11 | /** in here */
12 | tada: 1
13 | }
14 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/inner.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @constructor
3 | */
4 | function Outer() {
5 | /**
6 | * @constructor
7 | */
8 | function Inner(name) {
9 | /** The name of this. */
10 | this.name = name;
11 | }
12 |
13 | this.open = function(name) {
14 | return (new Inner(name));
15 | }
16 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/plugins/symbolLink.js:
--------------------------------------------------------------------------------
1 | JSDOC.PluginManager.registerPlugin(
2 | "JSDOC.symbolLink",
3 | {
4 | onSymbolLink: function(link) {
5 | // modify link.linkPath (the href part of the link)
6 | // or link.linkText (the text displayed)
7 | // or link.linkInner (the #name part of the link)
8 | }
9 | }
10 | );
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/exports.js:
--------------------------------------------------------------------------------
1 | /** @namespace */
2 | var mxn = {};
3 |
4 | (function(){
5 | /** @exports Map as mxn.Map */
6 | var Map =
7 | /** @constructor */
8 | mxn.Map = function() {
9 | };
10 |
11 | /** A method. */
12 | Map.prototype.doThings = function() {
13 | };
14 | })();
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/plugins/functionCall.js:
--------------------------------------------------------------------------------
1 | JSDOC.PluginManager.registerPlugin(
2 | "JSDOC.functionCall",
3 | {
4 | onFunctionCall: function(functionCall) {
5 | if (functionCall.name == "dojo.define" && functionCall.arg1) {
6 | functionCall.doc = "/** @lends "+eval(functionCall.arg1)+".prototype */";
7 | }
8 | }
9 | }
10 | );
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/oblit_anon.js:
--------------------------------------------------------------------------------
1 | /** the options */
2 | opt = Opt.get(
3 | arguments,
4 | {
5 | d: "directory",
6 | c: "conf",
7 | "D[]": "define"
8 | }
9 | );
10 |
11 | /** configuration */
12 | opt.conf = {
13 | /** keep */
14 | keep: true,
15 | /** base */
16 | base: getBase(this, {p: properties})
17 | }
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/monit.txt:
--------------------------------------------------------------------------------
1 | check host server with address 127.0.0.1
2 | start program = "/usr/local/bin/node /home/openbirdie/docs/server.js"
3 | as uid openbirdie and gid openbirdie
4 | stop program = "/usr/bin/pkill -f 'node /home/openbirdie/docs/server.js'"
5 | as uid root and gid root
6 | if failed port 9031
7 | with timeout 10 seconds
8 | then restart
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/prototype.js:
--------------------------------------------------------------------------------
1 | /** @constructor */
2 | function Article() {
3 | }
4 |
5 | Article.prototype.init = function(title) {
6 | /** the instance title */
7 | this.title = title;
8 |
9 | /** the static counter */
10 | Article.counter = 1;
11 | }
12 |
13 | a = new Article();
14 | a.Init("my title");
15 |
16 | print(a.title);
17 | print(Article.counter);
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/name.js:
--------------------------------------------------------------------------------
1 | /**
2 | @name Response
3 | @class
4 | */
5 |
6 | Response.prototype = {
7 | /**
8 | @name Response#text
9 | @function
10 | @description
11 | Gets the body of the response as plain text
12 | @returns {String}
13 | Response as text
14 | */
15 |
16 | text: function() {
17 | return this.nativeResponse.responseText;
18 | }
19 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/module.js:
--------------------------------------------------------------------------------
1 | /** @namespace */
2 | myProject = myProject || {};
3 |
4 | /** @namespace */
5 | myProject.myModule = (function () {
6 | /** describe myPrivateVar here */
7 | var myPrivateVar = "";
8 |
9 | var myPrivateMethod = function () {
10 | }
11 |
12 | /** @scope myProject.myModule */
13 | return {
14 | myPublicMethod: function () {
15 | }
16 | };
17 | })();
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/memberof_constructor.js:
--------------------------------------------------------------------------------
1 | /** @constructor */
2 | function Circle(){}
3 |
4 | /**
5 | @constructor
6 | @memberOf Circle#
7 | */
8 | Circle.prototype.Tangent = function(){};
9 |
10 | // renaming Circle#Tangent to Circle#Circle#Tangent
11 |
12 | /**
13 | @memberOf Circle#Tangent#
14 | */
15 | Circle.prototype.Tangent.prototype.getDiameter = function(){};
16 |
17 |
18 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/memberof3.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @name Foo
3 | * @class
4 | */
5 |
6 | /**#@+
7 | * @memberOf Foo#
8 | * @field
9 | */
10 |
11 | /**
12 | * @name bar
13 | * @type Object[]
14 | */
15 |
16 | /**#@-*/
17 |
18 | /**
19 | * @name Foo2
20 | * @class
21 | */
22 |
23 | /**#@+
24 | * @memberOf Foo2#
25 | * @field
26 | */
27 |
28 | /**
29 | * @name bar
30 | * @type Object[]
31 | */
32 |
33 | /**#@-*/
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/shortcuts.js:
--------------------------------------------------------------------------------
1 | // /**#=+
2 | // * {
3 | // * 'D': 'Date.prototype',
4 | // * '$N': 'Number'
5 | // * }
6 | // */
7 | // var D = Date.prototype,
8 | // $N = Number;
9 | //
10 | // D.locale = function(){
11 | // };
12 | //
13 | // /**
14 | // @return {string} The cardinal number string.
15 | // */
16 | // $N.nth = function(n){
17 | // };
18 | //
19 | // LOAD.file = function(){
20 | // }
21 | //
22 | // /**#=-*/
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/t/runner.js:
--------------------------------------------------------------------------------
1 | // try: java -jar ../../jsrun.jar runner.js
2 |
3 | load("TestDoc.js");
4 |
5 | TestDoc.prove("../frame/Opt.js");
6 | TestDoc.prove("../lib/JSDOC.js");
7 | TestDoc.prove("../frame/String.js");
8 | TestDoc.prove("../lib/JSDOC/DocTag.js");
9 | TestDoc.prove("../lib/JSDOC/DocComment.js");
10 | TestDoc.prove("../lib/JSDOC/TokenReader.js");
11 | TestDoc.prove("../lib/JSDOC/Symbol.js");
12 |
13 | TestDoc.report();
14 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/namespace_nested.js:
--------------------------------------------------------------------------------
1 | /**
2 | @namespace This is the first namespace.
3 | */
4 | ns1 = {};
5 |
6 | /**
7 | This is the second namespace.
8 | @namespace
9 | */
10 | ns1.ns2 = {};
11 |
12 | /**
13 | This part of ns1.ns2
14 | @constructor
15 | */
16 | ns1.ns2.Function1 = function() {
17 | };
18 |
19 | ns1.staticFunction = function() {
20 | };
21 |
22 | /** A static field in a namespace. */
23 | ns1.ns2.staticField = 1;
24 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/borrows2.js:
--------------------------------------------------------------------------------
1 | // testing circular borrows
2 |
3 | /**
4 | @class
5 | @borrows Bar#zop as this.my_zop
6 | */
7 | function Foo() {
8 | /** this is a zip. */
9 | this.zip = function() {}
10 |
11 | this.my_zop = new Bar().zop;
12 | }
13 |
14 | /**
15 | @class
16 | @borrows Foo#zip as this.my_zip
17 | */
18 | function Bar() {
19 | /** this is a zop. */
20 | this.zop = function() {}
21 |
22 | this.my_zip = new Foo().zip;
23 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/memberof.js:
--------------------------------------------------------------------------------
1 | /** @constructor */
2 | pack = function() {
3 | this.init = function(){}
4 | function config(){}
5 | }
6 |
7 | pack.build = function(task) {};
8 |
9 | /** @memberOf pack */
10 | pack.install = function() {}
11 |
12 | /** @memberOf pack */
13 | pack.install.overwrite = function() {}
14 |
15 | /** @memberOf pack */
16 | clean = function() {}
17 |
18 | /** @memberOf pack-config */
19 | install = function() {};
20 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/tosource.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @param {Object} object
3 | * @return {string}
4 | */
5 | function valueOf(object) {}
6 |
7 | /**
8 | * @param {Object} object
9 | * @return {string}
10 | */
11 | function toString(object) {}
12 |
13 | /**
14 | * @param {Object} object
15 | * @return {string}
16 | */
17 | function toSource(object) {}
18 |
19 | /**
20 | * @param {Object} object
21 | * @return {string}
22 | */
23 | function constructor(object) {}
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/augments2.js:
--------------------------------------------------------------------------------
1 | /**
2 | @constructor
3 | */
4 | function LibraryItem() {
5 | this.reserve = function() {
6 | }
7 | }
8 |
9 | /**
10 | @constructor
11 | */
12 | function Junkmail() {
13 | this.annoy = function() {
14 | }
15 | }
16 |
17 | /**
18 | @inherits Junkmail.prototype.annoy as pester
19 | @augments ThreeColumnPage
20 | @augments LibraryItem
21 | @constructor
22 | */
23 | function NewsletterPage() {
24 | this.getHeadline = function() {
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/lib/JSDOC/Token.js:
--------------------------------------------------------------------------------
1 | if (typeof JSDOC == "undefined") JSDOC = {};
2 |
3 | /**
4 | @constructor
5 | */
6 | JSDOC.Token = function(data, type, name) {
7 | this.data = data;
8 | this.type = type;
9 | this.name = name;
10 | }
11 |
12 | JSDOC.Token.prototype.toString = function() {
13 | return "<"+this.type+" name=\""+this.name+"\">"+this.data+""+this.type+">";
14 | }
15 |
16 | JSDOC.Token.prototype.is = function(what) {
17 | return this.name === what || this.type === what;
18 | }
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/constructs.js:
--------------------------------------------------------------------------------
1 | var Person = makeClass(
2 | /**
3 | @scope Person
4 | */
5 | {
6 | /**
7 | This is just another way to define a constructor.
8 | @constructs
9 | @param {string} name The name of the person.
10 | */
11 | initialize: function(name) {
12 | this.name = name;
13 | },
14 | say: function(message) {
15 | return this.name + " says: " + message;
16 | }
17 | }
18 | );
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/addon.js:
--------------------------------------------------------------------------------
1 | String.prototype.reverse = function() {
2 | }
3 |
4 | String.prototype.reverse.utf8 = function() {
5 | }
6 |
7 | Function.count = function() {
8 | }
9 |
10 | /** @memberOf Function */
11 | Function.count.reset = function() {
12 | }
13 |
14 | /** @memberOf Function */
15 | count.getValue = function() {
16 | }
17 |
18 | /** @memberOf Function.prototype */
19 | getSig = function() {
20 | }
21 |
22 | /** @memberOf Function.prototype */
23 | Function.prototype.getProps = function() {
24 | }
25 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/augments.js:
--------------------------------------------------------------------------------
1 | /**
2 | @constructor
3 | */
4 | function Layout(p) {
5 | this.init = function(p) {
6 | }
7 |
8 | this.getId = function() {
9 | }
10 |
11 | /** @type Page */
12 | this.orientation = "landscape";
13 | }
14 |
15 | /**
16 | @constructor
17 | @augments Layout
18 | */
19 | function Page() {
20 | this.reset = function(b) {
21 | }
22 | }
23 |
24 | /**
25 | @extends Page
26 | @constructor
27 | */
28 | function ThreeColumnPage() {
29 | this.init = function(resetCode) {
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/vendor/jsdoc-toolkit/app/test/overview.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @overview This "library" contains a
3 | * lot of classes and functions.
4 | * @example
5 | {+new Link().toFile("index.html").withText("Class Index")+}
2 | | {+new Link().toFile("files.html").withText("File Index")+}
3 |
23 |
Class Index
24 |
25 |
26 |
27 |
{+(new Link().toSymbol(thisClass.alias))+}
28 | {+resolveLinks(summarize(thisClass.classDesc))+}
29 |
30 |
31 |
32 |
33 |
34 |