sc-docs 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.gitmodules +3 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +48 -0
- data/LICENSE +21 -0
- data/README.md +59 -0
- data/bin/sc-docs +5 -0
- data/lib/sc_docs.rb +3 -0
- data/lib/sc_docs/cli.rb +54 -0
- data/lib/sc_docs/docs/Buildfile +8 -0
- data/lib/sc_docs/docs/README +8 -0
- data/lib/sc_docs/docs/apps/docs/Buildfile +15 -0
- data/lib/sc_docs/docs/apps/docs/controllers/classes.js +27 -0
- data/lib/sc_docs/docs/apps/docs/controllers/search_controller.js +62 -0
- data/lib/sc_docs/docs/apps/docs/controllers/selected_class.js +143 -0
- data/lib/sc_docs/docs/apps/docs/core.js +148 -0
- data/lib/sc_docs/docs/apps/docs/main.js +41 -0
- data/lib/sc_docs/docs/apps/docs/models/class.js +63 -0
- data/lib/sc_docs/docs/apps/docs/models/entity.js +29 -0
- data/lib/sc_docs/docs/apps/docs/models/method.js +79 -0
- data/lib/sc_docs/docs/apps/docs/models/property.js +48 -0
- data/lib/sc_docs/docs/apps/docs/resources/images/method_icon.png +0 -0
- data/lib/sc_docs/docs/apps/docs/resources/images/property_icon.png +0 -0
- data/lib/sc_docs/docs/apps/docs/resources/loading.rhtml +9 -0
- data/lib/sc_docs/docs/apps/docs/resources/main_page.css +156 -0
- data/lib/sc_docs/docs/apps/docs/resources/main_page.js +91 -0
- data/lib/sc_docs/docs/apps/docs/resources/templates/details.handlebars +81 -0
- data/lib/sc_docs/docs/apps/docs/resources/templates/extensions/signature.js +0 -0
- data/lib/sc_docs/docs/apps/docs/system/jquery_ui.js +62 -0
- data/lib/sc_docs/docs/apps/docs/system/showdown.js +1297 -0
- data/lib/sc_docs/docs/apps/docs/theme.js +29 -0
- data/lib/sc_docs/docs/apps/docs/views/detail_list.js +24 -0
- data/lib/sc_docs/docs/apps/docs/views/master_list.js +35 -0
- data/lib/sc_docs/docs/apps/docs/views/methods_collection.js +80 -0
- data/lib/sc_docs/docs/apps/docs/views/properties_collection.js +9 -0
- data/lib/sc_docs/generator.rb +145 -0
- data/lib/sc_docs/server.rb +21 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/allclasses.tmpl +31 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/allfiles.tmpl +66 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/class.tmpl +437 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/index.tmpl +52 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/css/api.css +619 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/apidocs.jpg +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/apidocs.png +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/clearinput.png +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/cross.png +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/ddiagonal.png +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/diagonal.png +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/docbullet.jpg +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/docbullet.png +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/glow.png +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/logo.png +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/pixels.png +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/img/search.png +0 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/js/api.js +134 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/js/jquery-bbq.js +18 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/js/lib/jquery-1.5.1.min.js +16 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/js/lib/modernizr-1.7.min.js +2 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/js/plugin.js +1 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/output/js/script.js +5 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/publish.js +200 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/static/default.css +300 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/static/header.html +19 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/static/index.html +19 -0
- data/lib/sc_docs/templates/docs.sproutcore.com/symbol.tmpl +35 -0
- data/lib/sc_docs/templates/sc_fixture/publish.js +632 -0
- data/lib/sc_docs/version.rb +4 -0
- data/sc_docs.gemspec +27 -0
- data/vendor/jsdoc/README.txt +109 -0
- data/vendor/jsdoc/app/frame.js +33 -0
- data/vendor/jsdoc/app/frame/Chain.js +102 -0
- data/vendor/jsdoc/app/frame/Dumper.js +144 -0
- data/vendor/jsdoc/app/frame/Hash.js +84 -0
- data/vendor/jsdoc/app/frame/Link.js +173 -0
- data/vendor/jsdoc/app/frame/Namespace.js +10 -0
- data/vendor/jsdoc/app/frame/Opt.js +134 -0
- data/vendor/jsdoc/app/frame/Reflection.js +26 -0
- data/vendor/jsdoc/app/frame/String.js +93 -0
- data/vendor/jsdoc/app/frame/Testrun.js +129 -0
- data/vendor/jsdoc/app/handlers/FOODOC.js +26 -0
- data/vendor/jsdoc/app/handlers/XMLDOC.js +26 -0
- data/vendor/jsdoc/app/handlers/XMLDOC/DomReader.js +159 -0
- data/vendor/jsdoc/app/handlers/XMLDOC/XMLDoc.js +16 -0
- data/vendor/jsdoc/app/handlers/XMLDOC/XMLParse.js +292 -0
- data/vendor/jsdoc/app/lib/JSDOC.js +106 -0
- data/vendor/jsdoc/app/lib/JSDOC/DocComment.js +204 -0
- data/vendor/jsdoc/app/lib/JSDOC/DocTag.js +294 -0
- data/vendor/jsdoc/app/lib/JSDOC/JsDoc.js +140 -0
- data/vendor/jsdoc/app/lib/JSDOC/JsPlate.js +109 -0
- data/vendor/jsdoc/app/lib/JSDOC/Lang.js +144 -0
- data/vendor/jsdoc/app/lib/JSDOC/Parser.js +146 -0
- data/vendor/jsdoc/app/lib/JSDOC/PluginManager.js +33 -0
- data/vendor/jsdoc/app/lib/JSDOC/Symbol.js +644 -0
- data/vendor/jsdoc/app/lib/JSDOC/SymbolSet.js +243 -0
- data/vendor/jsdoc/app/lib/JSDOC/TextStream.js +41 -0
- data/vendor/jsdoc/app/lib/JSDOC/Token.js +18 -0
- data/vendor/jsdoc/app/lib/JSDOC/TokenReader.js +332 -0
- data/vendor/jsdoc/app/lib/JSDOC/TokenStream.js +133 -0
- data/vendor/jsdoc/app/lib/JSDOC/Util.js +32 -0
- data/vendor/jsdoc/app/lib/JSDOC/Walker.js +507 -0
- data/vendor/jsdoc/app/main.js +111 -0
- data/vendor/jsdoc/app/plugins/commentSrcJson.js +20 -0
- data/vendor/jsdoc/app/plugins/frameworkPrototype.js +16 -0
- data/vendor/jsdoc/app/plugins/functionCall.js +10 -0
- data/vendor/jsdoc/app/plugins/publishSrcHilite.js +62 -0
- data/vendor/jsdoc/app/plugins/symbolLink.js +10 -0
- data/vendor/jsdoc/app/plugins/tagParamConfig.js +31 -0
- data/vendor/jsdoc/app/plugins/tagSynonyms.js +43 -0
- data/vendor/jsdoc/app/run.js +297 -0
- data/vendor/jsdoc/app/t/TestDoc.js +144 -0
- data/vendor/jsdoc/app/t/runner.js +13 -0
- data/vendor/jsdoc/app/test.js +342 -0
- data/vendor/jsdoc/app/test/addon.js +24 -0
- data/vendor/jsdoc/app/test/anon_inner.js +14 -0
- data/vendor/jsdoc/app/test/augments.js +31 -0
- data/vendor/jsdoc/app/test/augments2.js +26 -0
- data/vendor/jsdoc/app/test/borrows.js +46 -0
- data/vendor/jsdoc/app/test/borrows2.js +23 -0
- data/vendor/jsdoc/app/test/config.js +22 -0
- data/vendor/jsdoc/app/test/constructs.js +18 -0
- data/vendor/jsdoc/app/test/encoding.js +10 -0
- data/vendor/jsdoc/app/test/encoding_other.js +12 -0
- data/vendor/jsdoc/app/test/event.js +54 -0
- data/vendor/jsdoc/app/test/exports.js +14 -0
- data/vendor/jsdoc/app/test/functions_anon.js +39 -0
- data/vendor/jsdoc/app/test/functions_nested.js +33 -0
- data/vendor/jsdoc/app/test/global.js +13 -0
- data/vendor/jsdoc/app/test/globals.js +25 -0
- data/vendor/jsdoc/app/test/ignore.js +10 -0
- data/vendor/jsdoc/app/test/inner.js +16 -0
- data/vendor/jsdoc/app/test/jsdoc_test.js +477 -0
- data/vendor/jsdoc/app/test/lend.js +33 -0
- data/vendor/jsdoc/app/test/memberof.js +19 -0
- data/vendor/jsdoc/app/test/memberof2.js +38 -0
- data/vendor/jsdoc/app/test/memberof3.js +33 -0
- data/vendor/jsdoc/app/test/memberof_constructor.js +17 -0
- data/vendor/jsdoc/app/test/module.js +17 -0
- data/vendor/jsdoc/app/test/multi_methods.js +25 -0
- data/vendor/jsdoc/app/test/name.js +19 -0
- data/vendor/jsdoc/app/test/namespace_nested.js +23 -0
- data/vendor/jsdoc/app/test/nocode.js +13 -0
- data/vendor/jsdoc/app/test/oblit_anon.js +20 -0
- data/vendor/jsdoc/app/test/overview.js +20 -0
- data/vendor/jsdoc/app/test/param_inline.js +37 -0
- data/vendor/jsdoc/app/test/params_optional.js +8 -0
- data/vendor/jsdoc/app/test/prototype.js +17 -0
- data/vendor/jsdoc/app/test/prototype_nested.js +9 -0
- data/vendor/jsdoc/app/test/prototype_oblit.js +13 -0
- data/vendor/jsdoc/app/test/prototype_oblit_constructor.js +24 -0
- data/vendor/jsdoc/app/test/public.js +10 -0
- data/vendor/jsdoc/app/test/scripts/code.js +5 -0
- data/vendor/jsdoc/app/test/scripts/notcode.txt +5 -0
- data/vendor/jsdoc/app/test/shared.js +42 -0
- data/vendor/jsdoc/app/test/shared2.js +2 -0
- data/vendor/jsdoc/app/test/shortcuts.js +22 -0
- data/vendor/jsdoc/app/test/static_this.js +13 -0
- data/vendor/jsdoc/app/test/synonyms.js +31 -0
- data/vendor/jsdoc/app/test/tosource.js +23 -0
- data/vendor/jsdoc/app/test/variable_redefine.js +14 -0
- data/vendor/jsdoc/changes.txt +127 -0
- data/vendor/jsdoc/conf/sample.conf +31 -0
- metadata +240 -0
@@ -0,0 +1,22 @@
|
|
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
|
+
// /**#=-*/
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/**
|
2
|
+
@class
|
3
|
+
@inherits Bar#zop as #my_zop
|
4
|
+
*/
|
5
|
+
function Foo() {
|
6
|
+
/** this is a zip. */
|
7
|
+
this.zip = function() {}
|
8
|
+
|
9
|
+
/** from Bar */
|
10
|
+
this.my_zop = new Bar().zop;
|
11
|
+
}
|
12
|
+
|
13
|
+
/**
|
14
|
+
@class
|
15
|
+
@borrows Foo#zip as this.my_zip
|
16
|
+
*/
|
17
|
+
function Bar() {
|
18
|
+
/** this is a zop. */
|
19
|
+
this.zop = function() {}
|
20
|
+
|
21
|
+
/** from Foo */
|
22
|
+
this.my_zip = new Foo().zip;
|
23
|
+
}
|
24
|
+
|
25
|
+
/** @namespace */
|
26
|
+
var myObject = {
|
27
|
+
/**
|
28
|
+
@type function
|
29
|
+
*/
|
30
|
+
myFunc: getFunction()
|
31
|
+
}
|
@@ -0,0 +1,23 @@
|
|
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) {}
|
@@ -0,0 +1,127 @@
|
|
1
|
+
== 2.4.0n ==
|
2
|
+
* Ported to run on Node.JS
|
3
|
+
|
4
|
+
== 2.4.0 ==
|
5
|
+
|
6
|
+
* Fixed bug that added mutiple symbols with the same name to docs.
|
7
|
+
* Added support for the -m option to suppress warnings for multiple docs.
|
8
|
+
* Added patch by brownsea42 to support quoted user variables on the command line. ( issue #281 )
|
9
|
+
* Fixed bug that sometimes caused links to events to be incorrect. ( issue #292 )
|
10
|
+
|
11
|
+
== 2.3.3 ==
|
12
|
+
|
13
|
+
* Fixed bug that made all fields declared with the @property tag static. ( issue #262 )
|
14
|
+
* Minor fix to better handle trailing slash on path to template (from jwmetrocat). ( issue #237 )
|
15
|
+
* Fix for @memberOf when applied to inner members. ( issue #264 )
|
16
|
+
* Fix for @memberOf when applied to symbols documented with @name. ( issue #260 )
|
17
|
+
* Applied patch from kunhualqk, fix for bug where @link to borrowed member did not resolve to parent class. ( issue #218 )
|
18
|
+
* Fix for @requires not linking back to the required class
|
19
|
+
* Added experimental support for @constructs to have an argument, the class name, when applied to a function assignment.
|
20
|
+
|
21
|
+
== 2.3.2 ==
|
22
|
+
|
23
|
+
* Minor update to the usage notes and corrected the version number displayed in the output.
|
24
|
+
|
25
|
+
== 2.3.1 ==
|
26
|
+
|
27
|
+
* Fixed HTML typo in allfiles template. ( issue #228 )
|
28
|
+
* Modified template to display version information for classes.
|
29
|
+
* Modified template to better support multiple methods with the same name.
|
30
|
+
* Fixed bug that caused template to error when backtick characters appeared around class names.
|
31
|
+
|
32
|
+
== 2.3.0 ==
|
33
|
+
|
34
|
+
* Added option -u, --unique to avoid bug that causes multiple symbols with names that differ only by case to overwrite each others output on case-insensitive filesystems. ( issue #162 )
|
35
|
+
* Fixed bug where {@links} in @deprecated tags did not resolve. ( issue #220 )
|
36
|
+
* Fixed bug that caused parens around a function to make it to be unrecognized. ( issue #213 )
|
37
|
+
* Fixed bug prevented explicit links to named anchors from working (thanks katgao.pku). ( issue #215 )
|
38
|
+
* Fixed bug that prevented full description from appearing in file overview. ( issue #224 )
|
39
|
+
|
40
|
+
== 2.2.1 ==
|
41
|
+
|
42
|
+
* Fixed bug with class template, where sorting of methods was accidentally removed (thanks dezfowler).
|
43
|
+
* Added missing test files for the @exports unit tests.
|
44
|
+
|
45
|
+
== 2.2.0 ==
|
46
|
+
|
47
|
+
* Fixed bug that caused exception when given a folder containing non-js files, even with the x commandline option set to "js". ( issue #193 )
|
48
|
+
* Fixed typo in index template [patch submitted by olle]. ( issue #198 )
|
49
|
+
* Modified @borrows tag experimentally to allow for missing "as ..." clause.
|
50
|
+
* Added support for the @exports tag, to allow one symbol to be documented as another.
|
51
|
+
* Added support for the -S option to document code following the Secure Modules pattern.
|
52
|
+
|
53
|
+
== 2.1.0 ==
|
54
|
+
|
55
|
+
* Added support for the @event tag.
|
56
|
+
* Fixed bug that prevented the : character from appearing in symbol names.
|
57
|
+
* Fixed bug that prevented underscored symbols marked with @public being tagged as private. (issue #184 )
|
58
|
+
* Fixed bug that randomly affected the @memberOf tag when the name of the symbol did not include the parent name.
|
59
|
+
* Fixed bug that prevented templates that were not in the jsdoc-toolkit folder from being found. ( issue #176 )
|
60
|
+
* Added ability to check for trailing slash on template path. ( issue #177 )
|
61
|
+
* Modified classDesc so that it no longer is appended with the constructor desc.
|
62
|
+
* Fixed call to plugin onDocCommentSrc.
|
63
|
+
* Added missing support for inline doc comments for function return types. ( issue #189 )
|
64
|
+
* Added command line option -q, --quiet.
|
65
|
+
* Added command line option -E, --exclude. ( issue #143 )
|
66
|
+
* Added 2 more hooks for plugins. ( issue #163 )
|
67
|
+
* Added support for extending built-ins. ( issue #160 )
|
68
|
+
* Added "compact" option to JSDOC.JsPlate.prototype.process. ( issue #159 )
|
69
|
+
* @augments no longer documents static members as inherited. ( issue #138 )
|
70
|
+
* @link to a class now goes to the page for that class, not the constructor. ( issue #178 )
|
71
|
+
* Warnings of mismatched curly brace now include filename. ( issue #166 )
|
72
|
+
* Fixed bug affecting template paths loaded via a configuration file when the trailing slash is missing. ( issue #191 )
|
73
|
+
* Minor optimizations.
|
74
|
+
|
75
|
+
== 2.0.2 ==
|
76
|
+
|
77
|
+
* Fixed bug that sometimes caused an example of division in the source code to be interpretted as a regex by the JsDoc Toolkit analyzer. ( issue #158 )
|
78
|
+
* Fixed a bug that prevented private variables marked as @public from appearing in the documentation. ( issue #161 )
|
79
|
+
* Fixed bug that prevented variable names with underscored properties from appearing in summaries. ( issue #173 )
|
80
|
+
|
81
|
+
== 2.0.1 ==
|
82
|
+
|
83
|
+
* Fixed bug that prevented @fileOverview tag from being recognized.
|
84
|
+
* Added support for @fieldOf as a synonym for @field plus @memberOf.
|
85
|
+
* Added support for @name tag in a @fileOverview comment to control the displayed name of the file.
|
86
|
+
* Added support for multiple @example tags. ( issue #152 )
|
87
|
+
* Modified style sheet of jsdoc template to make more readable. ( issue #151 )
|
88
|
+
* Fixed bug that prevented @since documentation from displaying correctly when it appeared in a class. ( issue #150 )
|
89
|
+
* Fixed bug that caused inhertited properties to sometimes not resolve correctly. ( issue #144 )
|
90
|
+
* Modified so that trailing whitespace in @example is always trimmed. ( issue #153 )
|
91
|
+
* Added support for elseif to JsPlate. (hat tip to fredck)
|
92
|
+
* Added support for @location urls in the @overview comment to the jsdoc template.
|
93
|
+
|
94
|
+
== Changes From Versions 1.4.0 to 2.0.0 ==
|
95
|
+
|
96
|
+
* Upgraded included version of Rhino from 1.6 to 1.7R1.
|
97
|
+
* Removed circular references in parsed documentation objects.
|
98
|
+
* Improved inheritance handling, now properties and events can be inherited same as methods.
|
99
|
+
* Improved handling of cross-file relationships, now having two related objects in separate files is not a problem.
|
100
|
+
* Improved ability to recognize membership of previously defined objects.
|
101
|
+
* Added ability to redefine parsing behavior with plugins.
|
102
|
+
* @methodOf is a synonym for @function and @memberOf.
|
103
|
+
* Added @default to document default values of members that are objects.
|
104
|
+
* Added ability to parse and refer to inner functions.
|
105
|
+
* Fixed bug that appeared when calling a method to set properties of the instance referred to by "this".
|
106
|
+
* Added ability to automatically create links to other symbols.
|
107
|
+
* New "jsdoc" template now produces fully W3C valid XHTML.
|
108
|
+
* Inline parameter type hint comments are now documented.
|
109
|
+
* Fixed error: Locally scoped variables (declared with var) no longer appear as global.
|
110
|
+
* It is now possible to run JsDoc Toolkit from any directory.
|
111
|
+
* Added support for inline {@link ...} tags.
|
112
|
+
* Added support for the -H command-line option to allow for custom content handlers.
|
113
|
+
* Tag names @inherits and @scope changed to @borrows and @lends.
|
114
|
+
? Combining @constructor in a doclet with @lends now supported.
|
115
|
+
* Multiple @lend tags now supported.
|
116
|
+
* Added support for the @constructs tag, used inside a @lends block.
|
117
|
+
* Added support for the @constant tag.
|
118
|
+
* Fixed bug that prevented the use of [] as a default value.
|
119
|
+
* Added support for the @field tag.
|
120
|
+
* Added support for the @public tag (applied to inner functions).
|
121
|
+
* @namespace tag can now be applied to functions, not just object literals.
|
122
|
+
* Added support for the -s command line option to suppress source code output.
|
123
|
+
* Added new unit test framework.
|
124
|
+
* Underscored symbols are now treated as if they have a @private tag by default.
|
125
|
+
* Improved support for anonymous constructors.
|
126
|
+
* Added support for the nocode meta tag.
|
127
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/*
|
2
|
+
This is an example of one way you could set up a configuration file to more
|
3
|
+
conveniently define some commandline options. You might like to do this if
|
4
|
+
you frequently reuse the same options. Note that you don't need to define
|
5
|
+
every option in this file, you can combine a configuration file with
|
6
|
+
additional options on the commandline if your wish.
|
7
|
+
|
8
|
+
You would include this configuration file by running JsDoc Toolkit like so:
|
9
|
+
java -jar jsrun.jar app/run.js -c=conf/sample.conf
|
10
|
+
|
11
|
+
*/
|
12
|
+
|
13
|
+
{
|
14
|
+
// source files to use
|
15
|
+
_: ['app/test/jsdoc_test.js'],
|
16
|
+
|
17
|
+
// document all functions, even uncommented ones
|
18
|
+
a: true,
|
19
|
+
|
20
|
+
// including those marked @private
|
21
|
+
p: true,
|
22
|
+
|
23
|
+
// some extra variables I want to include
|
24
|
+
D: {generatedBy: "Michael Mathews", copyright: "2008"},
|
25
|
+
|
26
|
+
// use this directory as the output directory
|
27
|
+
d: "docs",
|
28
|
+
|
29
|
+
// use this template
|
30
|
+
t: "templates/jsdoc"
|
31
|
+
}
|
metadata
ADDED
@@ -0,0 +1,240 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sc-docs
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.1
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Majd Taby
|
9
|
+
- Peter Wagenet
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
|
14
|
+
date: 2011-05-18 00:00:00 -07:00
|
15
|
+
default_executable:
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: thor
|
19
|
+
prerelease: false
|
20
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
21
|
+
none: false
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: "0"
|
26
|
+
type: :runtime
|
27
|
+
version_requirements: *id001
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rack
|
30
|
+
prerelease: false
|
31
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
32
|
+
none: false
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: "0"
|
37
|
+
type: :runtime
|
38
|
+
version_requirements: *id002
|
39
|
+
description: A tool to generate docs for SproutCore and SproutCore applications.
|
40
|
+
email:
|
41
|
+
- majd@sproutcore.com
|
42
|
+
- peterw@sproutcore.com
|
43
|
+
executables:
|
44
|
+
- sc-docs
|
45
|
+
extensions: []
|
46
|
+
|
47
|
+
extra_rdoc_files: []
|
48
|
+
|
49
|
+
files:
|
50
|
+
- .gitignore
|
51
|
+
- .gitmodules
|
52
|
+
- Gemfile
|
53
|
+
- Gemfile.lock
|
54
|
+
- LICENSE
|
55
|
+
- README.md
|
56
|
+
- bin/sc-docs
|
57
|
+
- lib/sc_docs.rb
|
58
|
+
- lib/sc_docs/cli.rb
|
59
|
+
- lib/sc_docs/docs/Buildfile
|
60
|
+
- lib/sc_docs/docs/README
|
61
|
+
- lib/sc_docs/docs/apps/docs/Buildfile
|
62
|
+
- lib/sc_docs/docs/apps/docs/controllers/classes.js
|
63
|
+
- lib/sc_docs/docs/apps/docs/controllers/search_controller.js
|
64
|
+
- lib/sc_docs/docs/apps/docs/controllers/selected_class.js
|
65
|
+
- lib/sc_docs/docs/apps/docs/core.js
|
66
|
+
- lib/sc_docs/docs/apps/docs/main.js
|
67
|
+
- lib/sc_docs/docs/apps/docs/models/class.js
|
68
|
+
- lib/sc_docs/docs/apps/docs/models/entity.js
|
69
|
+
- lib/sc_docs/docs/apps/docs/models/method.js
|
70
|
+
- lib/sc_docs/docs/apps/docs/models/property.js
|
71
|
+
- lib/sc_docs/docs/apps/docs/resources/images/method_icon.png
|
72
|
+
- lib/sc_docs/docs/apps/docs/resources/images/property_icon.png
|
73
|
+
- lib/sc_docs/docs/apps/docs/resources/loading.rhtml
|
74
|
+
- lib/sc_docs/docs/apps/docs/resources/main_page.css
|
75
|
+
- lib/sc_docs/docs/apps/docs/resources/main_page.js
|
76
|
+
- lib/sc_docs/docs/apps/docs/resources/templates/details.handlebars
|
77
|
+
- lib/sc_docs/docs/apps/docs/resources/templates/extensions/signature.js
|
78
|
+
- lib/sc_docs/docs/apps/docs/system/jquery_ui.js
|
79
|
+
- lib/sc_docs/docs/apps/docs/system/showdown.js
|
80
|
+
- lib/sc_docs/docs/apps/docs/theme.js
|
81
|
+
- lib/sc_docs/docs/apps/docs/views/detail_list.js
|
82
|
+
- lib/sc_docs/docs/apps/docs/views/master_list.js
|
83
|
+
- lib/sc_docs/docs/apps/docs/views/methods_collection.js
|
84
|
+
- lib/sc_docs/docs/apps/docs/views/properties_collection.js
|
85
|
+
- lib/sc_docs/generator.rb
|
86
|
+
- lib/sc_docs/server.rb
|
87
|
+
- lib/sc_docs/templates/docs.sproutcore.com/allclasses.tmpl
|
88
|
+
- lib/sc_docs/templates/docs.sproutcore.com/allfiles.tmpl
|
89
|
+
- lib/sc_docs/templates/docs.sproutcore.com/class.tmpl
|
90
|
+
- lib/sc_docs/templates/docs.sproutcore.com/index.tmpl
|
91
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/css/api.css
|
92
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/apidocs.jpg
|
93
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/apidocs.png
|
94
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/clearinput.png
|
95
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/cross.png
|
96
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/ddiagonal.png
|
97
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/diagonal.png
|
98
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/docbullet.jpg
|
99
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/docbullet.png
|
100
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/glow.png
|
101
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/logo.png
|
102
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/pixels.png
|
103
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/img/search.png
|
104
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/js/api.js
|
105
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/js/jquery-bbq.js
|
106
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/js/lib/jquery-1.5.1.min.js
|
107
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/js/lib/modernizr-1.7.min.js
|
108
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/js/plugin.js
|
109
|
+
- lib/sc_docs/templates/docs.sproutcore.com/output/js/script.js
|
110
|
+
- lib/sc_docs/templates/docs.sproutcore.com/publish.js
|
111
|
+
- lib/sc_docs/templates/docs.sproutcore.com/static/default.css
|
112
|
+
- lib/sc_docs/templates/docs.sproutcore.com/static/header.html
|
113
|
+
- lib/sc_docs/templates/docs.sproutcore.com/static/index.html
|
114
|
+
- lib/sc_docs/templates/docs.sproutcore.com/symbol.tmpl
|
115
|
+
- lib/sc_docs/templates/sc_fixture/publish.js
|
116
|
+
- lib/sc_docs/version.rb
|
117
|
+
- sc_docs.gemspec
|
118
|
+
- vendor/jsdoc/README.txt
|
119
|
+
- vendor/jsdoc/app/frame.js
|
120
|
+
- vendor/jsdoc/app/frame/Chain.js
|
121
|
+
- vendor/jsdoc/app/frame/Dumper.js
|
122
|
+
- vendor/jsdoc/app/frame/Hash.js
|
123
|
+
- vendor/jsdoc/app/frame/Link.js
|
124
|
+
- vendor/jsdoc/app/frame/Namespace.js
|
125
|
+
- vendor/jsdoc/app/frame/Opt.js
|
126
|
+
- vendor/jsdoc/app/frame/Reflection.js
|
127
|
+
- vendor/jsdoc/app/frame/String.js
|
128
|
+
- vendor/jsdoc/app/frame/Testrun.js
|
129
|
+
- vendor/jsdoc/app/handlers/FOODOC.js
|
130
|
+
- vendor/jsdoc/app/handlers/XMLDOC.js
|
131
|
+
- vendor/jsdoc/app/handlers/XMLDOC/DomReader.js
|
132
|
+
- vendor/jsdoc/app/handlers/XMLDOC/XMLDoc.js
|
133
|
+
- vendor/jsdoc/app/handlers/XMLDOC/XMLParse.js
|
134
|
+
- vendor/jsdoc/app/lib/JSDOC.js
|
135
|
+
- vendor/jsdoc/app/lib/JSDOC/DocComment.js
|
136
|
+
- vendor/jsdoc/app/lib/JSDOC/DocTag.js
|
137
|
+
- vendor/jsdoc/app/lib/JSDOC/JsDoc.js
|
138
|
+
- vendor/jsdoc/app/lib/JSDOC/JsPlate.js
|
139
|
+
- vendor/jsdoc/app/lib/JSDOC/Lang.js
|
140
|
+
- vendor/jsdoc/app/lib/JSDOC/Parser.js
|
141
|
+
- vendor/jsdoc/app/lib/JSDOC/PluginManager.js
|
142
|
+
- vendor/jsdoc/app/lib/JSDOC/Symbol.js
|
143
|
+
- vendor/jsdoc/app/lib/JSDOC/SymbolSet.js
|
144
|
+
- vendor/jsdoc/app/lib/JSDOC/TextStream.js
|
145
|
+
- vendor/jsdoc/app/lib/JSDOC/Token.js
|
146
|
+
- vendor/jsdoc/app/lib/JSDOC/TokenReader.js
|
147
|
+
- vendor/jsdoc/app/lib/JSDOC/TokenStream.js
|
148
|
+
- vendor/jsdoc/app/lib/JSDOC/Util.js
|
149
|
+
- vendor/jsdoc/app/lib/JSDOC/Walker.js
|
150
|
+
- vendor/jsdoc/app/main.js
|
151
|
+
- vendor/jsdoc/app/plugins/commentSrcJson.js
|
152
|
+
- vendor/jsdoc/app/plugins/frameworkPrototype.js
|
153
|
+
- vendor/jsdoc/app/plugins/functionCall.js
|
154
|
+
- vendor/jsdoc/app/plugins/publishSrcHilite.js
|
155
|
+
- vendor/jsdoc/app/plugins/symbolLink.js
|
156
|
+
- vendor/jsdoc/app/plugins/tagParamConfig.js
|
157
|
+
- vendor/jsdoc/app/plugins/tagSynonyms.js
|
158
|
+
- vendor/jsdoc/app/run.js
|
159
|
+
- vendor/jsdoc/app/t/TestDoc.js
|
160
|
+
- vendor/jsdoc/app/t/runner.js
|
161
|
+
- vendor/jsdoc/app/test.js
|
162
|
+
- vendor/jsdoc/app/test/addon.js
|
163
|
+
- vendor/jsdoc/app/test/anon_inner.js
|
164
|
+
- vendor/jsdoc/app/test/augments.js
|
165
|
+
- vendor/jsdoc/app/test/augments2.js
|
166
|
+
- vendor/jsdoc/app/test/borrows.js
|
167
|
+
- vendor/jsdoc/app/test/borrows2.js
|
168
|
+
- vendor/jsdoc/app/test/config.js
|
169
|
+
- vendor/jsdoc/app/test/constructs.js
|
170
|
+
- vendor/jsdoc/app/test/encoding.js
|
171
|
+
- vendor/jsdoc/app/test/encoding_other.js
|
172
|
+
- vendor/jsdoc/app/test/event.js
|
173
|
+
- vendor/jsdoc/app/test/exports.js
|
174
|
+
- vendor/jsdoc/app/test/functions_anon.js
|
175
|
+
- vendor/jsdoc/app/test/functions_nested.js
|
176
|
+
- vendor/jsdoc/app/test/global.js
|
177
|
+
- vendor/jsdoc/app/test/globals.js
|
178
|
+
- vendor/jsdoc/app/test/ignore.js
|
179
|
+
- vendor/jsdoc/app/test/inner.js
|
180
|
+
- vendor/jsdoc/app/test/jsdoc_test.js
|
181
|
+
- vendor/jsdoc/app/test/lend.js
|
182
|
+
- vendor/jsdoc/app/test/memberof.js
|
183
|
+
- vendor/jsdoc/app/test/memberof2.js
|
184
|
+
- vendor/jsdoc/app/test/memberof3.js
|
185
|
+
- vendor/jsdoc/app/test/memberof_constructor.js
|
186
|
+
- vendor/jsdoc/app/test/module.js
|
187
|
+
- vendor/jsdoc/app/test/multi_methods.js
|
188
|
+
- vendor/jsdoc/app/test/name.js
|
189
|
+
- vendor/jsdoc/app/test/namespace_nested.js
|
190
|
+
- vendor/jsdoc/app/test/nocode.js
|
191
|
+
- vendor/jsdoc/app/test/oblit_anon.js
|
192
|
+
- vendor/jsdoc/app/test/overview.js
|
193
|
+
- vendor/jsdoc/app/test/param_inline.js
|
194
|
+
- vendor/jsdoc/app/test/params_optional.js
|
195
|
+
- vendor/jsdoc/app/test/prototype.js
|
196
|
+
- vendor/jsdoc/app/test/prototype_nested.js
|
197
|
+
- vendor/jsdoc/app/test/prototype_oblit.js
|
198
|
+
- vendor/jsdoc/app/test/prototype_oblit_constructor.js
|
199
|
+
- vendor/jsdoc/app/test/public.js
|
200
|
+
- vendor/jsdoc/app/test/scripts/code.js
|
201
|
+
- vendor/jsdoc/app/test/scripts/notcode.txt
|
202
|
+
- vendor/jsdoc/app/test/shared.js
|
203
|
+
- vendor/jsdoc/app/test/shared2.js
|
204
|
+
- vendor/jsdoc/app/test/shortcuts.js
|
205
|
+
- vendor/jsdoc/app/test/static_this.js
|
206
|
+
- vendor/jsdoc/app/test/synonyms.js
|
207
|
+
- vendor/jsdoc/app/test/tosource.js
|
208
|
+
- vendor/jsdoc/app/test/variable_redefine.js
|
209
|
+
- vendor/jsdoc/changes.txt
|
210
|
+
- vendor/jsdoc/conf/sample.conf
|
211
|
+
has_rdoc: true
|
212
|
+
homepage: http://sproutcore.com
|
213
|
+
licenses: []
|
214
|
+
|
215
|
+
post_install_message:
|
216
|
+
rdoc_options: []
|
217
|
+
|
218
|
+
require_paths:
|
219
|
+
- lib
|
220
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
221
|
+
none: false
|
222
|
+
requirements:
|
223
|
+
- - ">="
|
224
|
+
- !ruby/object:Gem::Version
|
225
|
+
version: "0"
|
226
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
|
+
none: false
|
228
|
+
requirements:
|
229
|
+
- - ">="
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: 1.3.6
|
232
|
+
requirements: []
|
233
|
+
|
234
|
+
rubyforge_project:
|
235
|
+
rubygems_version: 1.5.2
|
236
|
+
signing_key:
|
237
|
+
specification_version: 3
|
238
|
+
summary: Docs Generator for SproutCore
|
239
|
+
test_files: []
|
240
|
+
|