1871 Commits

Author SHA1 Message Date
Jeff Williams
cd4dcce9e5 remove jsdoc/app module and global.app 2019-01-22 07:39:20 -08:00
Jeff Williams
02c1722eb9 use lodash to clone objects 2019-01-21 19:59:33 -08:00
Jeff Williams
704341b6f3 remove deprecated jsdoc/util/error module 2019-01-21 19:45:17 -08:00
Jeff Williams
249606a317 update license info 2019-01-21 19:40:38 -08:00
Jeff Williams
5f578e803b migrate from old, vendored Jasmine to jasmine package (#1602)
Plus some miscellaneous cleanup.
2019-01-21 19:38:07 -08:00
Jeff Williams
f27aba37b7 first pass at template overhaul and template API changes
API changes:
+ No more `jsdoc/template` module. Each JSDoc template uses whatever templating system it wants.
+ No more TaffyDB. Each template finds doclets however it wants. (TODO: Update `jsdoc/util/templateHelper` so none of its methods expect a TaffyDB object.)
+ Templates are now loaded with `require('my-template-name-here')`. The resulting object must include a `publish` method.
+ The `publish` method now takes two parameters: a `data` object with `doclets` and `tutorials` properties, and an `options` object. `data.doclets` is just an array.

Other notable changes:
+ No more `haruki` template.
+ Moved the `default` and `silent` templates to new packages.
+ The `.tmpl` files for the `default` template (now called `@jsdoc/template-original`) no longer use custom delimiters.
2019-01-21 14:13:43 -08:00
Jeff Williams
3b8b0b479b migrate from underscore to lodash 2019-01-21 10:52:46 -08:00
Wojciech Krysiak
8d7a70c3f6 update docs with new template (#1604) 2019-01-20 10:50:15 -08:00
Jeff Williams
a29a03b2d9 move jsdoc/util/logger into a new package 2019-01-19 21:49:27 -08:00
Jeff Williams
261c116e03 move jsdoc/src/syntax into a new package 2019-01-19 13:26:16 -08:00
Jeff Williams
aa0b6c1bfa switch to new-ish ECMAScript syntax
With help from Lebab, plus a lot of manual cleanup. (And more cleanup to come, I'm sure.)
2019-01-15 18:39:10 -08:00
Jeff Williams
1546d40a2e update ESLint config 2019-01-13 16:08:37 -08:00
Jeff Williams
27f9a33116 migrate from babylon to @babel/parser 2019-01-13 15:22:47 -08:00
greenkeeper[bot]
d3109080ea Update ajv to the latest version 🚀 (#1599)
* chore(package): update ajv to version 6.7.0

* chore(package): update lockfile package-lock.json
2019-01-13 15:04:23 -08:00
Jeff Williams
ccb70aad3b only run CI with Node.js versions that actually exist 2019-01-12 15:08:58 -08:00
Jeff Williams
2d3b55b68a migrate from markdown-it-named-headers to markdown-it-anchor (#1481) 2019-01-12 15:01:16 -08:00
Jeff Williams
7b304d8042 update dependencies and supported Node.js versions
We also need to migrate from `babylon`, but that'll take more work, which is tracked in jsdoc3/jsdoc#1598.
2019-01-12 14:32:17 -08:00
Jeff Williams
b21427343c 3.5.5 changelog 2017-09-13 19:50:09 -07:00
Andreas Hocevar
932c3572fd Prefer copyFileSync from here over native (#1440) 2017-09-13 19:46:48 -07:00
Jeff Williams
8e2f8686c4 upgrade Babylon 2017-08-04 15:04:27 -07:00
Jeff Williams
96f8875449 fix test breakage 2017-08-04 15:03:14 -07:00
Jeff Williams
4c3d5632c4 3.5.4 changelog 2017-08-04 14:54:09 -07:00
Jeff Williams
2c6bcd4407 prevent crash when an anonymous class is passed as a parameter (#1416) 2017-07-29 16:50:01 -07:00
Jeff Williams
67e19bfc3a hide the signature in the heading for classes with hidden constructors (#1397) 2017-07-29 14:14:18 -07:00
greenkeeper[bot]
67f1d23d5c chore(package): update nyc to version 11.1.0 (#1417) 2017-07-29 14:12:10 -07:00
Jeff Williams
e8bca1f490 add templates.useShortNamesInLinks config option (#738)
When this option is set to `true`, the `{@link}`, `{@linkcode}`, and `{@linkplain}` tags will use the short name, not the longname, as the link text. For example, `{@link foo.bar.baz}` will result in the link text `baz`.

This option has no effect when link text is provided as part of the tag (for example, `{@link foo.bar.baz My link text here}`).

As part of this change, I also simplified many of the tests for the `resolveLinks` method.
2017-07-23 18:35:26 -07:00
Jeff Williams
2c47d4b306 allow users to specify a highlighter for Markdown code blocks (#1412) 2017-07-23 15:01:27 -07:00
Jeff Williams
f3a31e9a4c document longnamesToTree, plus other doc improvements (#43) 2017-07-23 14:14:38 -07:00
Jeff Williams
832dfd704a move namespaces and interfaces up in the nav (#1410) 2017-07-23 12:34:56 -07:00
Jeff Williams
a63337b5c8 don't pretty-print code blocks that begin with "```plain" (#1361) 2017-07-23 12:30:07 -07:00
Jeff Williams
f27bf19de0 improve comment 2017-07-23 10:38:26 -07:00
Jeff Williams
1c99ec39eb make the exports tag work correctly when combined with the enum tag (#970) 2017-07-22 20:29:56 -07:00
Jeff Williams
599a376cb5 fix Node.js 4.x 2017-07-22 19:18:32 -07:00
Jeff Williams
280d316fb0 update tested Node.js versions 2017-07-22 19:08:18 -07:00
Jeff Williams
8191227607 use the markdown-it Markdown parser by default (#1243)
The marked parser is deprecated in JSDoc 3.6.0 and will be removed in JSDoc 3.7.0.
2017-07-22 19:00:24 -07:00
Jeff Williams
e6a313c4ca enable more Babylon options (#1411) 2017-07-22 14:38:01 -07:00
Jeff Williams
8aeedb7503 bump revision 2017-07-22 14:15:34 -07:00
Jeff Williams
d29a4dd3c1 update JSON schema to draft-06, and use ajv to validate doclets 2017-07-22 14:12:58 -07:00
Jeff Williams
90827aab0f move externs test spec to the correct directory 2017-07-22 11:45:17 -07:00
Jeff Williams
2c7c282ccd upgrade Babylon 2017-07-22 11:34:20 -07:00
Jeff Williams
7738610a9f support the nosideeffects tag (Closure Compiler only) (#605) 2017-07-21 18:42:53 -07:00
Jeff Williams
2f99af8fbb support the modifies tag (JSDoc and Closure Compiler) (#605) 2017-07-21 17:29:47 -07:00
Jeff Williams
b56162489d update .gitignore 2017-07-21 16:10:30 -07:00
Jeff Williams
56b52779c4 support the typedef tag correctly for Closure Compiler (#605) 2017-07-21 15:23:04 -07:00
Jeff Williams
e33f48c471 support the this tag correctly for Closure Compiler (#605) 2017-07-21 14:04:53 -07:00
Jeff Williams
2164532d30 support the unrestricted tag (Closure Compiler only) (#605) 2017-07-16 20:35:47 -07:00
Jeff Williams
25a271e727 support the template tag (Closure Compiler only) (#567, #605) 2017-07-16 20:05:40 -07:00
Jeff Williams
7afa146990 support the record tag (Closure Compiler only) (#605) 2017-07-16 20:00:48 -07:00
Jeff Williams
b13bb67fbb support the public tag for Closure Compiler (#605) 2017-07-16 19:51:50 -07:00
Jeff Williams
a9a68f3442 support the suppress tag (Closure Compiler only) (#605) 2017-07-16 19:14:27 -07:00