Jeff Williams
fc2b4ad3d2
fix Windows path issues and static-file copying ( #785 )
...
- In the default template, look for the list of static file paths in the
config property `templates.default.staticFiles.include`. (You can still
use `paths` instead of `include`.)
- Handle path-normalization issues that prevented the default template
from copying user-specified static files on Windows.
- Normalize paths in `fs.toDir` so that callers get the correct path
separator on Windows.
2014-10-30 12:06:26 -07:00
Jeff Williams
b28f3341a3
delint
2014-10-26 05:52:03 -07:00
Jeff Williams
25ffab0676
prevent a crash when a package file specifies a name, but not a version
2014-10-17 12:44:35 -07:00
Jeff Williams
d527f3e6b0
prevent crash when a returns tag does not have a value ( #751 )
2014-09-05 15:30:21 -07:00
Jeff Williams
61e637bae6
if a module exports only an overloaded method, show every version of the method ( #727 )
2014-08-12 09:50:11 -07:00
MinHyeong Kim
ef70ffe2bd
modify codes for @interface, @implements annotation.
2014-08-11 16:01:59 -07:00
Jeff Williams
8c66aef685
fix several template issues for modules ( #522 , #672 )
...
- Show type info for modules that export something other than a class or a function. (#672 )
- Do not duplicate the module description at the start of each page.
- Display the module description before the class description. (#522 )
2014-06-30 20:55:57 -07:00
Jeff Williams
14d11c2844
remove parameter properties from the method signature ( #680 )
2014-06-22 19:45:02 -07:00
Jeff Williams
329db29c4f
fix syntax for modules that export a single constructor ( #655 )
2014-05-29 18:51:36 -07:00
Jeff Williams
073d7e83e3
enable ESLint space-infix-ops rule (and associated cleanup)
2014-04-19 11:04:53 -07:00
Jeff Williams
bce238bb51
replace JSHint with ESLint (and associated cleanup)
2014-04-19 10:38:02 -07:00
Jeff Williams
254dda50b1
show more info for Closure Compiler type expressions ( #618 )
2014-04-18 16:46:34 -07:00
Jeff Williams
49ad746e49
trailing whitespace cleanup
2014-03-04 13:47:57 -08:00
Jeff Williams
48e6c392d5
huge whitespace cleanup
...
- remove all trailing whitespace
- for consistency, replace all tabs with spaces
2014-03-03 07:43:01 -08:00
Jeff Williams
39daa9ab23
hide source location if outputSourceFiles is false ( #571 )
...
revised fix to address the regression in #592
2014-03-01 08:18:08 -08:00
Jeff Williams
3caf49520d
Revert "hide source location if outputSourceFiles is false ( #571 )"
...
Caused regression #592 .
This reverts commit 8a50d1f064fc719e4099faf426d81e45690f07fd.
2014-03-01 08:09:43 -08:00
Jeff Williams
8a50d1f064
hide source location if outputSourceFiles is false ( #571 )
2014-02-16 09:15:14 -08:00
Jeff Williams
c9b0237c12
overhaul logging and error handling ( #416 )
2013-12-23 15:25:28 -08:00
Jeff Williams
f00e390cf0
fix various filepath issues (including #541 )
2013-12-08 13:51:44 -08:00
Jeff Williams
cbe3442221
allow users to override the default template's layout file with the templates.default.layoutFile config property ( #480 )
2013-12-01 10:06:22 -08:00
Jeff Williams
f55feb1a0e
'use strict'ify
2013-11-11 23:49:54 -08:00
Jeff Williams
f958ab0fd2
prevent doclet paths from being shortened twice ( #514 )
2013-11-05 20:52:59 -08:00
Jeff Williams
751bea1b0a
fixes for Node.js compatibility (see details)
...
- new Rhino .jar to help find module paths
(https://github.com/hegemonic/rhino/commit/31b70105 )
- make __dirname and process.cwd() provide the current module path; use
only env.dirname for JSDoc's home dir; fix callers
- get rid of jsdoc/util/include (and update test framework accordingly)
- avoid running Rhino/Node.js tests on the wrong runtime
- remove support for global 'publish' function, which relied upon
jsdoc/util/include
- update jsdoc/util/dumper for consistency with Node.js'
JSON.stringify()
- fix jsdoc/util/runtime to detect Node.js correctly
- add Node.js versions of jsdoc/fs and jsdoc/path
- other minor cleanup
2013-10-25 23:30:56 -07:00
Jeff Williams
9745685dde
make the fs.statSync shim throw an error (consistent with Node.js)
2013-10-23 09:32:20 -07:00
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