112 Commits

Author SHA1 Message Date
livelazily
2b845d7590 read source files using user defined encodeing, fix #496 2013-09-28 15:40:32 +08:00
Jeff Williams
912f548343 make the default template generate pretty-printed source files by default (#454) 2013-08-04 23:46:21 -07:00
Jeff Williams
a2f947bd34 change 'virtual' to 'abstract' in default template output (#432) 2013-08-04 23:34:21 -07:00
Jeff Williams
01ce3042d1 prevent crashes in lenient mode when a returns tag has no value (#451) 2013-08-04 18:07:27 -07:00
Jeff Williams
f97803ad69 use Object.keys instead of Object.hasOwnProperty where possible 2013-05-02 20:06:04 -07:00
Jeff Williams
0042847a0d copy user-specific static files to the default template's output directory (#393) 2013-04-30 20:57:16 -07:00
Jeff Williams
525e6fa8ec make the "Global" heading clickable when the only globals are typedefs (#261) 2013-04-19 14:50:20 -07:00
Jeff Williams
407a718543 Merge branch 'pr/365' 2013-04-07 07:14:57 -07:00
Jeff Williams
e5be860cc4 support modules that export a single non-constructor function (#384) 2013-04-06 16:53:20 -07:00
mathematicalcoffee
2cb86c13e3 added 'Listeners:' section to the default template 2013-03-18 14:33:01 +10:00
Billiam
5a84918099 Fix repeated classes header in sidenav
Fixes multiple <h3>classes</h3> navigation menus appearing in navigation
sidebar when using modules.

Removes magic -1 value and module counting in favor of more explicit
boolean, only appending class heading if necessary.
2013-03-11 10:42:11 -05:00
Jeff Williams
f09ef82246 don't throw an exception if there are no source files with JSDoc comments (#329) 2013-01-30 17:31:05 -08:00
Jeff Williams
434c80e803 turn '@author' tag text into mailto: link where possible (#326) 2013-01-28 07:33:07 -08:00
Jeff Williams
4c1611f86f fix class signatures 2013-01-23 23:29:52 -08:00
Jeff Williams
a693262c66 handle typedefs that contain functions (#292) 2013-01-23 22:03:29 -08:00
Jeff Williams
5df4fd432d update the default template to generate pretty-printed source files (#208)
enabled by default. to disable pretty-printed source files, add the
property templates.default.outputSourceFiles: false to your conf.json
file.
2013-01-22 20:34:41 -08:00
Jeff Williams
d73570defc make fs module consistent with Node.js (#211) 2012-12-26 19:03:05 -08:00
Jeff Williams
f79728ed62 Merge pull request #281 from mathematicalcoffee/template-event-list-in-index
Default template: Event list in right hand sidebar
2012-12-21 23:11:30 -08:00
Jeff Williams
b07d19f43a show complete info for global functions on Global page (#285) 2012-12-21 11:39:36 -08:00
mathematicalcoffee
4cf3598c4c Added list of events to the index. 2012-12-11 10:47:33 +10:00
Jeff Williams
2de416da7d fix broken hrefs in output files (#264) 2012-12-02 08:03:54 -08:00
Jeff Williams
d5991a2d71 don't overwrite pages like 'index.html' if a namespace has a name like 'index' (#244)
also, improved the default template's efficiency--we now create lists
of all classes/members/etc. just once, instead of once per longname
2012-11-08 07:47:05 -08:00
Mark Wang
ea7f8cb408 Fix #253 2012-11-06 18:22:43 -08:00
Jeff Williams
3b937e557f use underscore.js for templates instead of a customized subset 2012-10-16 05:34:50 -07:00
Jeff Williams
157d5c89ad update TaffyDB; move to node_modules 2012-10-15 05:22:13 -07:00
Jeff Williams
10a54620fc use consistent path separators on windows (#207) 2012-10-04 09:20:44 -07:00
Jeff Williams
ec47356ee6 make templates work from relative and absolute paths (#196, #197, #198) 2012-09-23 21:06:36 -07:00
Frank Steidinger
132a6da310 Prevent default template from trying to copy its static files into themselves if env.dirname contains a backslash. Otherwise they end up empty.
Filenames provided by fs.ls already use slashes instead of backslashes so the replace(fromDir, toDir) does nothing and the file is truncated. (Issue #190)
2012-09-20 12:35:27 +02:00
Jeff Williams
4e0af2967a refactor default template and templateHelper.js (#186) 2012-09-17 21:50:26 -07:00
Jeff Williams
f5e3f0f31d save output in the current working directory, not the JSDoc directory 2012-09-03 10:23:25 -07:00
Jeff Williams
a3bf78410b Merge pull request #166 from hegemonic/exports-publish 2012-08-22 08:57:58 -07:00
Jeff Williams
d091675cfa make 'fs' and 'path' modules more consistent with Node.js 2012-08-19 15:25:02 -07:00
Jeff Williams
c43c183aaa disable JSHint's "asi" relaxing option 2012-07-06 07:40:24 -07:00
Jeff Williams
4524af7a09 enable JSHint's "latedef" test 2012-07-06 07:22:00 -07:00
Jeff Williams
ce287745f1 enable JSDoc's "trailing" test 2012-07-04 16:27:06 -07:00
Jeff Williams
1951ea3821 enable JSHint's "undef" test 2012-07-04 16:22:08 -07:00
Jeff Williams
dabb0b4410 enable JSHint's "immed" test 2012-07-04 16:01:55 -07:00
Jeff Williams
769a71298e enable JSHint's "forin" test 2012-07-04 15:59:33 -07:00
Jeff Williams
324af73dcf enable JSHint's "curly" test 2012-07-04 15:19:31 -07:00
Jeff Williams
da39bdd302 rename Object.prototype.hasOwnProperty alias to hasOwnProp
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:45:44 -07:00
Jeff Williams
22e899fa9d change __dirname to env.dirname
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:37:17 -07:00
Michael Mathews
6d914ee30e Added support for including README.md content on the output index page. Closes #128 2012-06-21 22:46:32 +01:00
Michael Mathews
eb0186b96a Do not show a header for Classes if the documentation contains no classes. 2012-06-15 07:57:19 +01:00
Michael Mathews
ef37251464 Fix for exception thrown when documenting symbols with special names like "hasOwnProperty". Closes #125. 2012-06-07 22:36:22 +01:00
Michael Mathews
1efee9d908 Added link to index page, added files and package information to index page content. Closes #51. 2012-06-01 09:47:47 +01:00
Michael Mathews
4ce17195ae Fix for classes in the navigation not being sorted by name when those classes were members of different modules. 2012-06-01 00:32:51 +01:00
Michael Mathews
2cdb27fd6d Changes to default template to support index page [submitted by reklis (Steven Fusco)]. 2012-05-14 17:18:48 +01:00
Jakub Lekstan
96dcf0c9c5 Creating index.html in default template 2012-04-25 11:12:31 +02:00
Jannon Frank
eeb6611ea5 Merge pull request #78 from rafalwrzeszcz/feature-template-helper
Feature template helper
2012-03-16 01:56:53 -07:00
Jannon Frank
68f264f468 Merge pull request #75 from rafalwrzeszcz/feature-tutorial-fixes
Fixed tutorials tree generation.
2012-03-15 17:57:51 -07:00