Jeff Williams
34d98ed438
add @also to tag definitions ( #574 )
...
This tag is used internally. It previously caused
"not a known tag" errors when
tags.allowUnknownTags was set to false.
2014-02-16 08:39:32 -08:00
Jeff Williams
8afd06613f
alphabetize the tag definitions
2014-02-16 07:55:51 -08:00
Jeff Williams
3ae23b8b21
provide a setter for doclet scope ( #574 )
...
We previously set the doclet's scope by adding a
`@scope` tag, which, in turn, was used to update
the scope. Since this tag isn't defined or used in
any other context, it could cause "not a known
tag" errors.
2014-02-16 07:44:28 -08:00
Jeff Williams
d51faa18d1
update Marked; suppress IDs in headings ( #582 )
2014-02-15 14:57:35 -08:00
Jeff Williams
43b6920085
document new properties on module.exports ( #500 )
2014-02-01 20:12:24 -08:00
Jeff Williams
3d68872a09
DRY out
2013-12-26 21:26:19 -08:00
Jeff Williams
6d83ffd060
the common prefix for one file is the file's dirname ( #553 )
2013-12-26 21:19:37 -08:00
Jeff Williams
41ccdf832e
fix known issues on Node.js 0.11 ( #555 )
2013-12-26 10:15:03 -08:00
Jeff Williams
d29632364b
remove URI-conversion and dirname-specification cruft
...
includes new Rhino .jar to allow module directories to be specified as paths:
https://github.com/jsdoc3/rhino/tree/5dd82a4c
2013-12-24 21:08:28 -08:00
Jeff Williams
6ca671434a
support external templates/plugins on Node.js ( #543 )
2013-12-24 14:54:21 -08:00
Jeff Williams
c9b0237c12
overhaul logging and error handling ( #416 )
2013-12-23 15:25:28 -08:00
Jeff Williams
2babc5b1c3
fix the line length after the first line; cleanup
2013-12-20 16:08:29 -08:00
Jeff Williams
f00e390cf0
fix various filepath issues (including #541 )
2013-12-08 13:51:44 -08:00
Jeff Williams
81ecdf6697
use the correct path in Cygwin ( #544 )
2013-12-08 10:58:37 -08:00
Jeff Williams
9f4137edc2
fix bad merge
2013-12-03 21:51:54 -08:00
Jeff Williams
8bf9db836e
Merge remote-tracking branch 'rassilon/issue-535'
...
Conflicts:
lib/jsdoc/tag/dictionary/definitions.js
test/fixtures/constanttag.js
test/specs/tags/constanttag.js
2013-12-03 21:45:15 -08:00
Jeff Williams
42e6822009
update JSON schema; validate doclets against schema ( #327 )
2013-12-03 16:45:36 -08:00
Jeff Williams
a0553bb942
replace undefined with null instead of the string "undefined"
2013-12-03 11:49:22 -08:00
Jeff Williams
6156d45582
allow template files to be specified as absolute paths ( #480 )
2013-12-01 10:04:47 -08:00
Jeff Williams
c2c163297e
use the config dirname, not the full path to the config file
2013-12-01 10:01:18 -08:00
Jeff Williams
9a7b9efe14
search config file path for resources; use the working directory to find the common path prefix
2013-12-01 09:38:49 -08:00
Jeff Williams
44ff7255e2
correctly retrieve the name from @const tags, with or without a type ( #367 )
2013-12-01 08:14:19 -08:00
Jeff Williams
00a40c19a0
DRY out
2013-11-30 20:16:51 -08:00
Jeff Williams
3aeb037d07
remove Node.js caveats
2013-11-26 18:41:37 -08:00
Jeff Williams
d3cff64ec0
dumper should use a new circular-refs cache for every call
2013-11-26 18:31:02 -08:00
Jeff Williams
522a377845
cleanup
2013-11-26 16:32:26 -08:00
Jeff Williams
3740c7087a
cleanup
2013-11-26 16:08:52 -08:00
Evgeni Dmitriev
83b009bfbf
Automatically remove per-line indent for @example tag
2013-11-27 00:59:54 +04:00
Bill Tutt
89ff00bbc7
longnames for external's no longer contain braces if the tag's text contained braces.
...
This fixes #351 .
2013-11-26 07:48:22 -08:00
Jeff Williams
5a15c74177
make the -h/--help output look nicer
2013-11-24 21:41:26 -08:00
Jeff Williams
6af2352d26
start refactoring AST node-related methods into a new module (+ cleanup)
2013-11-24 09:42:50 -08:00
Bill Tutt
8be3a1fecc
Fix jsdoc #535 : @member and @constant with only type create incorrect doclet.
2013-11-21 22:51:58 -05:00
Jeff Williams
6b62beb055
use correct prototype when duplicating objects; fix bad test
2013-11-20 07:15:11 -08:00
Jeff Williams
8a48807897
cleanup
2013-11-19 20:35:30 -08:00
Jeff Williams
f55feb1a0e
'use strict'ify
2013-11-11 23:49:54 -08:00
Jeff Williams
8f51a6f9a1
cleanup
2013-11-10 22:47:30 -08:00
Jeff Williams
e0df71b1ae
fix various path-related issues on Windows
...
- add env.pwd global, and use it instead of process.env.PWD, which is
undefined in Node.js on Windows
- normalize paths where necessary
2013-11-10 16:57:48 -08:00
Jeff Williams
6333e5d90d
comment out hashbangs in files with Windows line endings
2013-11-10 07:29:26 -08:00
Jeff Williams
6142dccf9c
escape ampersands in HTML-safe text ( #511 )
2013-11-07 08:25:55 -08:00
Jeff Williams
f070c59731
prevent Markdown parser from breaking the {@link} tag ( #518 )
2013-11-06 22:04:24 -08:00
Jeff Williams
15b18bab8c
resolve resource file paths relative to working directory ( #516 )
2013-11-05 21:30:28 -08:00
Jeff Williams
6651a85b35
Merge branch 'master' into parsimony
...
Conflicts:
lib/jsdoc/src/filter.js
lib/jsdoc/src/scanner.js
package.json
test/specs/jsdoc/src/filter.js
test/specs/jsdoc/src/scanner.js
test/specs/tags/exportstag.js
2013-11-04 08:54:46 -08:00
Jeff Williams
a3d3384293
resolve paths relative to the user's working directory
2013-11-04 07:12:23 -08:00
Jeff Williams
f7256d8d07
make npm installs work correctly; misc cross-platform fixes; cleanup
...
includes new Rhino jar that strips hashbangs before execution:
https://github.com/jsdoc3/rhino/commit/95487737
2013-11-02 23:14:04 -07:00
Jeff Williams
b81de7863d
use an empty excludePattern if the config file does not specify one ( #508 )
2013-11-02 21:37:17 -07:00
Jeff Williams
84188d6e62
don't escape inline HTML in Markdown-tagged text; remove markdown-js parser, and default to marked ( #510 )
2013-11-02 12:37:34 -07:00
Jeff Williams
3c2c0e3b7b
whitespace
2013-10-31 09:03:06 -07:00
Jeff Williams
de4297b20b
refactor jsdoc.js; update Rhino
...
- Switched to a new Rhino fork: https://github.com/jsdoc3/rhino
(currently reflects mozilla/rhino HEAD + enhancements for JSDoc)
- Removed jsdoc/util/global; new Rhino fork provides a `global` alias
just like Node.js
- Moved most of jsdoc.js into cli.js, and refactored for clarity
2013-10-27 10:46:27 -07: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