├── .npmignore ├── tests ├── input │ ├── folders1 │ │ ├── yuidoc.json │ │ └── one │ │ │ └── two │ │ │ └── yuidoc.json │ ├── folders3 │ │ ├── yuidoc.json │ │ ├── one │ │ │ ├── two │ │ │ │ └── yuidoc.json │ │ │ └── package.json │ │ └── package.json │ ├── folders4 │ │ └── one │ │ │ ├── yuidoc.json │ │ │ └── two │ │ │ ├── yuidoc.json │ │ │ └── package.json │ ├── folders5 │ │ ├── two │ │ │ ├── yuidoc.json │ │ │ └── package.json │ │ └── one │ │ │ └── three │ │ │ └── yuidoc.json │ ├── globbing │ │ ├── shallow │ │ │ └── yui │ │ │ │ └── src │ │ │ │ └── example │ │ │ │ └── example.js │ │ └── deep │ │ │ ├── deep │ │ │ └── sub │ │ │ │ └── yui │ │ │ │ └── src │ │ │ │ └── example │ │ │ │ └── example.js │ │ │ └── shallow │ │ │ └── yui │ │ │ └── src │ │ │ └── example │ │ │ └── example.js │ ├── folders2 │ │ ├── one │ │ │ └── two │ │ │ │ └── yuidoc.json │ │ └── package.json │ ├── namespace │ │ └── ns.js │ ├── coffee │ │ └── test.coffee │ ├── test2 │ │ ├── slashes.js │ │ ├── namespace.js │ │ └── dump │ │ │ └── dump.js │ ├── charts │ │ ├── Chart.js │ │ ├── RectGroup.js │ │ ├── DiamondGroup.js │ │ ├── EllipseGroup.js │ │ ├── StackedAreaSplineSeries.js │ │ ├── StackedLineSeries.js │ │ ├── StackedMarkerSeries.js │ │ ├── StackedSplineSeries.js │ │ ├── ComboSplineSeries.js │ │ ├── StackedAreaSeries.js │ │ ├── AreaSplineSeries.js │ │ ├── CircleGroup.js │ │ ├── StackedComboSplineSeries.js │ │ ├── StackingUtil.js │ │ ├── StackedComboSeries.js │ │ ├── AreaSeries.js │ │ ├── SplineSeries.js │ │ ├── StackedAxis.js │ │ ├── Renderer.js │ │ ├── LineSeries.js │ │ ├── CurveUtil.js │ │ ├── MarkerSeries.js │ │ ├── PieChartLegend.js │ │ ├── Gridlines.js │ │ └── ShapeGroup.js │ ├── test │ │ ├── anim.js │ │ └── test.js │ └── inherit │ │ └── examplemodule.js ├── lib │ └── davglass.js ├── parser_coffee.js └── utils.js ├── .travis.yml ├── output ├── assets │ ├── favicon.png │ └── vendor │ │ └── prettify │ │ ├── prettify-min.css │ │ └── prettify.css └── api │ ├── assets │ ├── css │ │ ├── logo.png │ │ └── external-small.png │ ├── favicon.png │ ├── img │ │ └── spinner.gif │ ├── index.html │ ├── js │ │ ├── yui-prettify.js │ │ ├── api-filter.js │ │ └── api-search.js │ └── vendor │ │ └── prettify │ │ └── prettify-min.css │ ├── classes │ ├── index.html │ ├── CLI.html │ └── Main.html │ ├── files │ ├── index.html │ └── lib_cli.js.html │ ├── modules │ └── index.html │ ├── api.js │ └── index.html ├── conf └── docs │ ├── assets │ ├── favicon.png │ └── vendor │ │ └── prettify │ │ ├── prettify-min.css │ │ └── prettify.css │ ├── project.json │ ├── index.mustache │ └── layouts │ └── main.mustache ├── .gitignore ├── themes ├── default │ ├── assets │ │ ├── css │ │ │ ├── logo.png │ │ │ └── external-small.png │ │ ├── favicon.png │ │ ├── img │ │ │ └── spinner.gif │ │ ├── index.html │ │ ├── js │ │ │ ├── yui-prettify.js │ │ │ ├── api-filter.js │ │ │ └── api-search.js │ │ └── vendor │ │ │ └── prettify │ │ │ └── prettify-min.css │ ├── theme.json │ ├── layouts │ │ ├── xhr.handlebars │ │ └── main.handlebars │ └── partials │ │ ├── files.handlebars │ │ ├── options.handlebars │ │ ├── index.handlebars │ │ ├── sidebar.handlebars │ │ ├── module.handlebars │ │ ├── props.handlebars │ │ ├── events.handlebars │ │ └── attrs.handlebars └── simple │ ├── assets │ ├── css │ │ ├── logo.png │ │ └── external-small.png │ ├── js │ │ ├── yui-prettify.js │ │ └── tabs.js │ └── vendor │ │ └── prettify │ │ └── prettify-min.css │ ├── partials │ ├── index.handlebars │ ├── files.handlebars │ ├── props.handlebars │ ├── module.handlebars │ ├── events.handlebars │ ├── attrs.handlebars │ ├── classes.handlebars │ ├── method.handlebars │ └── sidebar.handlebars │ ├── theme.json │ └── layouts │ └── main.handlebars ├── scripts ├── help.sh ├── test.sh ├── docs.sh ├── report.js ├── versions.js └── prep.sh ├── docs ├── themes │ ├── component.json │ └── index.mustache ├── args │ ├── component.json │ └── partials │ │ └── help.mustache └── syntax │ └── component.json ├── Makefile ├── DEVELOPMENT.md ├── LICENSE ├── lib ├── cli.js ├── docview.js ├── project.js ├── help.js ├── index.js └── options.js ├── README.md └── package.json /.npmignore: -------------------------------------------------------------------------------- 1 | .git 2 | sandbox 3 | -------------------------------------------------------------------------------- /tests/input/folders1/yuidoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yuidoc-root" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/folders3/yuidoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yuidoc-root" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/folders4/one/yuidoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yuidoc-one" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/folders5/two/yuidoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yuidoc-two" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/globbing/shallow/yui/src/example/example.js: -------------------------------------------------------------------------------- 1 | // Sample content 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /tests/input/folders1/one/two/yuidoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yuidoc-two" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/folders2/one/two/yuidoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yuidoc-two" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/folders2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "package-root" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/folders3/one/two/yuidoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yuidoc-two" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/folders3/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "package-root" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/folders4/one/two/yuidoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yuidoc-two" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/folders5/one/three/yuidoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yuidoc-three" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/globbing/deep/deep/sub/yui/src/example/example.js: -------------------------------------------------------------------------------- 1 | // Sample content 2 | -------------------------------------------------------------------------------- /tests/input/globbing/deep/shallow/yui/src/example/example.js: -------------------------------------------------------------------------------- 1 | // Sample content 2 | -------------------------------------------------------------------------------- /tests/input/folders3/one/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "package-one" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/folders4/one/two/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "package-two" 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/folders5/two/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "package-two" 3 | } 4 | -------------------------------------------------------------------------------- /output/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/output/assets/favicon.png -------------------------------------------------------------------------------- /conf/docs/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/conf/docs/assets/favicon.png -------------------------------------------------------------------------------- /output/api/assets/css/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/output/api/assets/css/logo.png -------------------------------------------------------------------------------- /output/api/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/output/api/assets/favicon.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | out 3 | node_modules 4 | coverage 5 | ddc 6 | npm-debug.log 7 | tests/input/test-linked 8 | -------------------------------------------------------------------------------- /output/api/assets/img/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/output/api/assets/img/spinner.gif -------------------------------------------------------------------------------- /themes/default/assets/css/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/themes/default/assets/css/logo.png -------------------------------------------------------------------------------- /themes/default/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/themes/default/assets/favicon.png -------------------------------------------------------------------------------- /themes/simple/assets/css/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/themes/simple/assets/css/logo.png -------------------------------------------------------------------------------- /themes/default/assets/img/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/themes/default/assets/img/spinner.gif -------------------------------------------------------------------------------- /output/api/assets/css/external-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/output/api/assets/css/external-small.png -------------------------------------------------------------------------------- /scripts/help.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd "$(dirname "$0")" 4 | 5 | ../lib/cli.js --help 2> ../docs/args/partials/help.mustache 6 | -------------------------------------------------------------------------------- /themes/default/assets/css/external-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/themes/default/assets/css/external-small.png -------------------------------------------------------------------------------- /themes/simple/assets/css/external-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apm/yuidoc/master/themes/simple/assets/css/external-small.png -------------------------------------------------------------------------------- /themes/simple/partials/index.handlebars: -------------------------------------------------------------------------------- 1 |
Something smart and pretty should probably go here.
3 | -------------------------------------------------------------------------------- /tests/lib/davglass.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | davglass: function(str) { 3 | return 'DAVGLASS_WAS_HERE::' + str; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /themes/simple/partials/files.handlebars: -------------------------------------------------------------------------------- 1 |
4 | {{fileData}}
5 |
6 |
7 |
--------------------------------------------------------------------------------
/conf/docs/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "projectName": "YUIDoc - Javascript Documentation Tool",
3 | "version": "0.3.45",
4 | "yuiSeedUrl": "http://yui.yahooapis.com/3.5.1/build/yui/yui.js"
5 | }
--------------------------------------------------------------------------------
/themes/default/theme.json:
--------------------------------------------------------------------------------
1 | {
2 | "yuiGridsUrl": "http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css",
3 | "yuiSeedUrl": "http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"
4 | }
5 |
--------------------------------------------------------------------------------
/themes/default/layouts/xhr.handlebars:
--------------------------------------------------------------------------------
1 |
5 | {{fileData}}
6 |
7 | 4 | Browse to a module or class using the sidebar to view its API documentation. 5 |
6 | 7 |Press s to focus the API search box.
Use Up and Down to select classes, modules, and search results.
With the API search box or sidebar focused, use ⌘-Left or ⌘-Right to switch sidebar tabs.
With the API search box or sidebar focused, use Ctrl+Left and Ctrl+Right to switch sidebar tabs.
This module has the following classes:
9 |This module has the following submodules:
19 |{{{description}}}
{{title}}Fires when the value for the configuration attribute `{{name}}` is changed. You can listen for the event using the `on` method if you wish to be notified before the attribute's value has changed, or using the `after` method if you wish to be notified after the attribute's value has changed.
13 | Parameters:
final {{/if}}{{#if returnType}}{{#crossLink returnType}}{{/crossLink}} {{/if}}`{{name}}`( `{{paramsList}} ` ) {{#if access}}`/* {{access}} method */`{{/if}}
4 | 34 | {{#if deprecationMessage}} 35 | Deprecated: {{deprecationMessage}} 36 | {{else}} 37 | This module is deprecated. 38 | {{/if}} 39 |
40 |This module provides the following classes:
60 | 61 |This module is a rollup of the following modules:
76 | 77 |YUIDoc is a Node.js application that 5 | generates API documentation from comments in source, using a syntax similar 6 | to tools like Javadoc and Doxygen. YUIDoc provides:
7 | 8 |That's it! For more information about running the `yuidoc` commandline tool, 34 | refer to "Using YUIDoc".
35 | 36 |YUIDoc parses a modified form of JSDoc tags. 49 | This section provides a taste of some of the more common constructs in YUIDoc. 50 | For more information, refer to the "YUIDoc Syntax Reference".
51 | 52 |2 | YUIDoc uses Handlebars.js to render its templates. 3 | For easy customization, YUIDoc's default templates provide a specific set of file overrides. 4 |
5 | 6 |9 | The default theme consists of `assets/`, `layouts/` and `partials/` directories, 10 | along with a `theme.json` file that describes theme-related variables, 11 | such as the JS and CSS to load. 12 |
13 | 14 | ```terminal 15 | 16 | themes/ 17 | default/ 18 | assets/ //Project assets, css, js 19 | layouts/ 20 | *.handlebars //Handlebars files for layouts 21 | partials/ 22 | *.handlebars //Handlebars files for partials 23 | theme.json //JSON file with theme variables 24 | ``` 25 | 26 |29 | A YUIDoc template has two primary layout files: `main.handlebars` and `xhr.handlebars`. 30 |
31 | 32 || `main` | 35 |36 | Provides a complete wrapper around every rendered page. 37 | `main.handlebars` includes the full HTML header and footer markup, CSS, and JS 38 | for every YUIDoc API page. 39 | | 40 |
|---|---|
| `xhr` | 43 |44 | Provides a smaller layout for the built-in doc server to use when requesting an individual page via XHR. 45 | This enables the browser to refresh just the content pane and avoid loading the complete markup for the entire page. 46 | The `xhr` template enables YUIDoc to progressively enhance the API documentation in an efficient manner. 47 | | 48 |
54 | For each section of the layout that derives from parsed YUIDoc comment data, 55 | YUIDoc provides a Handlebars partial. 56 |
57 | 58 || `index` | 61 |Renders the main index content. | 62 |
|---|---|
| `sidebar` | 65 |Renders the tabview containing the lists of classes and modules. | 66 |
| `options` | 69 |Renders the filter options at the top of the page, which enable the user to hide and show private methods, inherited methods, and so on. | 70 |
| `attrs` | 73 |Renders documentation for an individual YUI Attribute. | 74 |
| `classes` | 77 |Renders documentation for an individual class. | 78 |
| `events` | 81 |Renders documentation for an individual event. | 82 |
| `files` | 85 |Renders the API's source files. | 86 |
| `method` | 89 |Renders documentation for an individual method. | 90 |
| `module` | 93 |Renders documentation for an individual module. | 94 |
| `props` | 97 |Renders documentation for an individual property. | 98 |
105 | YUIDoc's `--themedir` option specifies a directory containing 106 | layouts and partials that override the default theme. For example: 107 |
108 | 109 | ```terminal 110 | $ yuidoc --themedir ./mytheme 111 | ``` 112 | 113 |114 | causes YUIDoc to inspect the directory `./mytheme` for template overrides. 115 | If this directory contains an override such as `./mytheme/partials/method.handlebars`, 116 | YUI will parse its internal templates first, then apply the custom `method.handlebars` partial. 117 | If a theme has no explicit override for a given template file, 118 | YUIDoc simply falls back to using the default layout or partial. 119 |
120 | -------------------------------------------------------------------------------- /tests/input/charts/MarkerSeries.js: -------------------------------------------------------------------------------- 1 | /** 2 | * The MarkerSeries class renders quantitative data by plotting relevant data points 3 | * on a graph. 4 | * 5 | * @module charts 6 | * @class MarkerSeries 7 | * @extends CartesianSeries 8 | * @uses Plots 9 | * @constructor 10 | */ 11 | Y.MarkerSeries = Y.Base.create("markerSeries", Y.CartesianSeries, [Y.Plots], { 12 | /** 13 | * @protected 14 | * 15 | * Draws the series. 16 | * 17 | * @method drawSeries 18 | */ 19 | drawSeries: function() 20 | { 21 | this.drawPlots(); 22 | }, 23 | 24 | /** 25 | * @protected 26 | * 27 | * Method used by `styles` setter. Overrides base implementation. 28 | * 29 | * @method _setStyles 30 | * @param {Object} newStyles Hash of properties to update. 31 | * @return Object 32 | */ 33 | _setStyles: function(val) 34 | { 35 | if(!val.marker) 36 | { 37 | val = {marker:val}; 38 | } 39 | val = this._parseMarkerStyles(val); 40 | return Y.MarkerSeries.superclass._mergeStyles.apply(this, [val, this._getDefaultStyles()]); 41 | }, 42 | 43 | /** 44 | * @protected 45 | * 46 | * Gets the default value for the `styles` attribute. Overrides 47 | * base implementation. 48 | * 49 | * @method _getDefaultStyles 50 | * @return Object 51 | */ 52 | _getDefaultStyles: function() 53 | { 54 | var styles = this._mergeStyles({marker:this._getPlotDefaults()}, Y.MarkerSeries.superclass._getDefaultStyles()); 55 | return styles; 56 | } 57 | },{ 58 | ATTRS : { 59 | /** 60 | * Read-only attribute indicating the type of series. 61 | * 62 | * @attribute type 63 | * @type String 64 | * @default marker 65 | */ 66 | type: { 67 | value:"marker" 68 | } 69 | 70 | /** 71 | * Style properties used for drawing markers. This attribute is inherited from `Renderer`. Below are the default values: 72 | *{{name}}Default: {{default}}
64 | {{/if}} 65 | 66 | {{#example}} 67 |[{{name}}{{#if optdefault}}={{optdefault}}{{/if}}]
84 | {{#crossLink type}}{{/crossLink}}
85 | optional
86 | {{else}}
87 | {{name}}
88 | {{#crossLink type}}{{/crossLink}}
89 | {{/if}}
90 |
91 | [{{name}}{{#if optdefault}}={{optdefault}}{{/if}}]
101 | {{#crossLink type}}{{/crossLink}}
102 | optional
103 | {{else}}
104 | {{name}}
105 | {{#crossLink type}}{{/crossLink}}
106 | {{/if}}
107 |
108 |
15 |
{{title}}
110 | Browse to a module or class using the sidebar to view its API documentation. 111 |
112 | 113 |Press s to focus the API search box.
Use Up and Down to select classes, modules, and search results.
With the API search box or sidebar focused, use ⌘-Left or ⌘-Right to switch sidebar tabs.
With the API search box or sidebar focused, use Ctrl+Left and Ctrl+Right to switch sidebar tabs.
{{name}}[{{name}}{{#if optdefault}}={{optdefault}}{{/if}}]
71 | {{#crossLink type}}{{/crossLink}}
72 | optional
73 | {{else}}
74 | {{name}}
75 | {{#crossLink type}}{{/crossLink}}
76 | {{/if}}
77 |
78 | {{#if multiple}}
79 | Multiple
80 | {{/if}}
81 |
82 | [{{name}}{{#if optdefault}}={{optdefault}}{{/if}}]
92 | {{#crossLink type}}{{/crossLink}}
93 | optional
94 | {{else}}
95 | {{name}}
96 | {{#crossLink type}}{{/crossLink}}
97 | {{/if}}
98 |
99 | {{name}}
108 | {{#crossLink type}}{{/crossLink}}
109 |
110 | {{name}}Default: {{default}}
77 | {{/if}} 78 | 79 | {{#if emit}} 80 |{{name}}Change84 | Fires when the value for the configuration attribute `{{{name}}}` is 85 | changed. You can listen for the event using the `on` method if you 86 | wish to be notified before the attribute's value has changed, or 87 | using the `after` method if you wish to be notified after the 88 | attribute's value has changed. 89 |
90 | 91 |e
97 | {{#crossLink "EventFacade"}}{{/crossLink}}
98 |
99 | prevVal
107 | Any
108 | newVal
112 | Any
113 | attrName
117 | {{#crossLink "String"}}{{/crossLink}}
118 | subAttrName
122 | {{#crossLink "String"}}{{/crossLink}}
123 | 
Parses the arguments, creates the options and passes them to Y.YUIDoc and then Y.DocBuilder.
86 | * The config object can also contain the following non-attribute properties, providing a convenient 87 | * way to configure events listeners and plugins for the instance, as part of the constructor call: 88 | *
89 | * 90 | *
Module creates the YUI instance with the required modules, uses them and exports the Y to be used
132 | by the CLI class or by extenders: require('yuidocjs');
You can use it like this:
var options = {
134 | paths: [ './lib' ],
135 | outdir: './out'
136 | };
137 |
138 | var Y = require('yuidocjs');
139 | var json = (new Y.YUIDoc(options)).run();
140 |
141 | 
111 | #!/usr/bin/env node
112 | /*
113 | Copyright (c) 2011, Yahoo! Inc. All rights reserved.
114 | Code licensed under the BSD License:
115 | http://yuilibrary.com/license/
116 | */
117 |
118 | /**
119 | * Parses the arguments, creates the options and passes them to `Y.YUIDoc` and then `Y.DocBuilder`.
120 | * @class CLI
121 | * @module yuidoc
122 | */
123 |
124 | var Y = require('./index'),
125 | path = require('path');
126 |
127 | var options = Y.Options(Y.Array(process.argv, 2));
128 |
129 | Y.log('Starting YUIDoc@' + Y.packageInfo.version + ' using YUI@' + Y.version + ' with NodeJS@' + process.versions.node, 'info', 'yuidoc');
130 |
131 | var starttime = (new Date).getTime();
132 |
133 | options = Y.Project.init(options);
134 |
135 | Y.log('Starting YUIDoc with the following options:', 'info', 'yuidoc');
136 | var opts = Y.clone(options);
137 | if (opts.paths && opts.paths.length && (opts.paths.length > 10)) {
138 | opts.paths = [].concat(opts.paths.slice(0, 5), ['<paths truncated>'], options.paths.slice(-5));
139 | }
140 | Y.log(opts, 'info', 'yuidoc');
141 |
142 | if (options.server) {
143 | Y.Server.start(options);
144 | } else {
145 |
146 | var json = (new Y.YUIDoc(options)).run();
147 | if (json === null) {
148 | return;
149 | }
150 | options = Y.Project.mix(json, options);
151 |
152 | if (!options.parseOnly) {
153 | var builder = new Y.DocBuilder(options, json);
154 | builder.compile(function() {
155 | var endtime = (new Date).getTime();
156 | Y.log('Completed in ' + ((endtime - starttime) / 1000) + ' seconds' , 'info', 'yuidoc');
157 | });
158 | }
159 | }
160 |
161 |
162 |