2048 Commits

Author SHA1 Message Date
Jeff Williams
f9c42de5c1 upgrade Espree (#1258) 2016-09-12 15:49:51 -07:00
Jeff Williams
8ad5ebab97 manually revert fix for #1081 (6be9dac616549ce226e4c0064876c7cb3b64fe25)
This fix caused #1259.
2016-09-09 16:21:43 -07:00
Jeff Williams
ed22fa0243 changelog for 3.4.1 2016-09-08 16:14:09 -07:00
Jeff Williams
40eb640967 update dependencies 2016-09-06 16:14:27 -07:00
Jeff Williams
4443c5a341 Merge pull request #1255 from lextiz/patch-2
Fetch taffydb from npm registry, fixes #961
2016-09-02 10:43:04 -07:00
Alexander Bolshakov
14d90eb7ea Fetch taffydb from npm registry 2016-09-02 20:17:34 +03:00
Jeff Williams
37d0f91515 bump revision 2016-08-31 16:00:10 -07:00
Jeff Williams
8c07fc519d upgrade marked (#1200) 2016-08-26 16:59:13 -07:00
Jeff Williams
e7129b2f37 test with current Node.js versions 2016-08-26 16:53:31 -07:00
Jeff Williams
f74d606e63 Merge pull request #1220 from clenemt/master
Add example for docdash
2016-08-26 16:49:52 -07:00
Jeff Williams
2dcf01e453 Update dependencies 2016-08-26 16:42:55 -07:00
Jeff Williams
cc1b966057 Merge branch 'dep-up-minor' of https://github.com/bjornharrtell/jsdoc into bjornharrtell-dep-up-minor 2016-08-26 16:41:41 -07:00
Jeff Williams
ea838e39a4 fix outdated link to Underscore.js (#1241) 2016-08-25 17:00:18 -07:00
i52
3a956fd271 Add example for docdash 2016-06-05 12:42:33 +02:00
Jeff Williams
407bd470cd use latest Catharsis 2016-04-27 13:45:47 -07:00
Björn Harrtell
5ca4590a9e Replace wrench with fs-extra 2016-03-31 21:41:52 +02:00
Björn Harrtell
b7c89c9f1b Update bluebird major version 2016-03-31 21:18:43 +02:00
Björn Harrtell
34c6eb9ffd Update gulp-eslint and minor style fixes to adapt to new eslint version 2016-03-31 21:17:41 +02:00
Björn Harrtell
1d8ecb705a Upgrade dependencies within minor levels 2016-03-31 20:51:04 +02:00
Jeff Williams
622c7dcc73 Merge pull request #1131 from mlucool/master
Update README.md to include gulp task
2016-03-21 16:21:12 -07:00
Jeff Williams
854e7cc9da Merge pull request #1159 from kevinoid/allow-unknown-tags-array
Support an Array of tags titles in allowUnknownTags
2016-03-21 16:17:40 -07:00
Jeff Williams
7b46afd590 Merge pull request #1147 from pra85/2016
Update license year range to 2016
2016-03-21 15:58:23 -07:00
Jeff Williams
a80431ab3c Merge pull request #1160 from kevinoid/silent-template
Create silent template
2016-03-21 15:57:24 -07:00
Jeff Williams
c864604a8f Merge pull request #1166 from clenemt/master
Add docdash to README.md
2016-03-21 15:56:21 -07:00
clenemt
3c2493a72d Add docdash to available templates
If you are ever interested in another template you can merge this in :)
2016-02-29 16:37:19 +01:00
Kevin Locke
67d3693214 Create silent template
This commit creates a template named `silent` which outputs nothing at
all.  As discussed in the `README.md`, this can be useful when running
JSDoc as a linter to check for syntax errors or unknown tags.  It may
also be useful for testing or benchmarking.

The same effect can be achieved using the haruki template and
redirecting the output to /dev/null, but this has a few downsides:

* It is non-obvious.
* It is difficult to do in scripts which must run in bash and cmd.exe
  (like npm scripts).
* It is slower due to the unnecessary formatting work and output
  syscalls.

This template could be distributed as a third-party template, but given
the tiny code size, broad applicability, and potential usefulness for
tests, it makes sense to include it officially.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-02-24 14:28:53 -08:00
Kevin Locke
61a3599154 Support an Array of tags titles in allowUnknownTags
This commit adds support for specifying an Array of tags which are
unknown to JSDoc, but allowed without error.  It provides a more
granular way to disable such errors while retaining the benefits of
catching errant tags (e.g. typos).

The intended use case is catching errant tags when using additional
tools which support tags not recognized by JSDoc (e.g. Closure Compiler
and the tags discussed in #605).

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-02-24 11:38:56 -08:00
Kevin Locke
2a4d1250d1 Remove dead code for allowUnknownTags checking
When tagDef is falsey the previous if block is entered and the function
always returns.  Therefore, this code block can never be entered.  If it
could, it would log the same error as above.  Remove it.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-02-24 11:36:35 -08:00
Prayag Verma
13defb857e Update license 2016-01-19 01:02:41 +05:30
Jeff Williams
3dbb94f157 autodetect défault and repeatable parameters in ES2015 methods (#1144) 2016-01-14 17:23:37 -08:00
Jeff Williams
3d7004a87d Merge pull request #1139 from algolia/fix/lint-cli-double-quotes
fix(lint): fix cli quotes
2016-01-05 15:58:06 -08:00
Jeff Williams
45d9b5ee0e Merge pull request #1140 from algolia/fix/avoid-astnode.js-test-skip
test(astnode.js): avoid skipping tests having node.js inside
2016-01-05 15:57:19 -08:00
Jeff Williams
d62691288e Merge pull request #1141 from algolia/fix/handle-object-spread-operator
fix(object spread): support experimental object spread
2016-01-05 15:52:55 -08:00
vvo
b1cd9a2598 fix(object spread): support experimental object spread
As per https://github.com/sebmarkbage/ecmascript-rest-spread

This was badly failing previously.

Any insights/comments welcomed!
2016-01-05 18:10:46 +01:00
vvo
8799e898bf test(astnode.js): avoid skipping tests having node.js inside
This commit makes the test suite run test/specs/jsdoc/src/astnode.js

It was previously skipped because of the runtime being node and
astnode.js containing "node"..

I even wonder if its still relevant to try to support different
runtime, but that's for another PR I guess.
2016-01-05 17:28:58 +01:00
vvo
9eee32cd85 fix(lint): fix cli quotes
linting was failing
2016-01-05 17:05:19 +01:00
mlucool
23dad61d13 Update README.md to include gulp task 2015-12-20 08:47:01 -05:00
Jeff Williams
b1ff7c14ce Merge pull request #1122 from lukeapage/patch-1
Change URL for where docstrap now lives
2015-12-16 15:30:28 -08:00
Jeff Williams
bce36281b6 use appropriate styling for all tables (#1064) 2015-12-14 16:25:57 -08:00
Jeff Williams
759243af08 add test for the Markdown fix in acc47fdfd19c53f8836e6ec5ade939c94c23013a 2015-12-08 16:18:29 -08:00
Jeff Williams
012369aca4 Merge pull request #1036 from Oblongmana/fix/markdown-breaks-namepaths-with-special-characters
Fix markdown breaking namepaths w/special chars
2015-12-08 16:05:29 -08:00
Jeff Williams
3734dd621a differentiate CSS for h2 and h3 elements (#1108) 2015-12-08 15:55:39 -08:00
Ger Hobbelt
6be9dac616 fixing #1081:
- tightened-up detection of the correct path for the plugins by checking if the plugin file *itself* actually exists in the given path; it's done this way to cope with scenarios where JSDoc is executed in another project's working directory where *that* project has plugins of itself in a similar directory structure (`plugins/*`).

  We DO NOT change the search path used by JSDoc.

- ditto for templates: we know that a template MUST have a `publish.js` file at least, so we go and check if that one exists at the location where we would otherwise have assumed it does.
2015-12-07 16:24:41 -08:00
Jeff Williams
ab2d8626c1 better docs 2015-12-07 16:01:22 -08:00
Jeff Williams
41d33e8399 fix multiple naming issues with members of a class that is the default export (#1120) 2015-12-07 15:56:07 -08:00
Luke Page
ba59b32579 Change URL for where docstrap now lives 2015-12-07 08:13:11 +00:00
Jeff Williams
25ab7b6631 refactor 2015-12-05 10:41:12 -08:00
Jeff Williams
a19ae48831 bump version 2015-12-03 06:04:16 -08:00
Jeff Williams
1bdcc52156 correctly handle classes that are the default export (#1113) 2015-12-03 06:03:20 -08:00
Jeff Williams
224e796428 prevent crash when exporting an anonymous class (#1113) 2015-11-29 14:53:55 -08:00