632 Commits

Author SHA1 Message Date
Tom MacWright
4dab786a39 Use explicit --access=public. Fixes #213 2016-05-20 16:49:16 -04:00
Tom MacWright
bb41619c73 Restore default values. Fix sort test 2016-05-05 10:00:57 -04:00
Tom MacWright
888f5eccfb Superpowered sorting 2016-05-04 10:47:54 -04:00
Ans
dd0aca93e6 Prevent double call to require when theme is set + jsdoc fixes (#411)
- Updates html.js to not double call require when theme is set.
- Normalizes jsdoc comments.
2016-05-02 13:16:34 -04:00
Tom MacWright
3da1ff6dd0 Source-sorting by default (#410)
* Source-sorting by default

Many changes

* Uses a new version of module-deps that exposes a sort key
  we use to sort documentation.
* Adds inference for methods in objects
* Groups events into a separate comment property

* Add jsdoc property. Refs https://github.com/documentationjs/documentation/pull/388#issuecomment-215791547

* Namespaces and paths

* More powerful paths: paths now include name, kind, and scope
* comments now include a 'namespace' property with a formatted namespace

* Fix tests

* Re-ignore fonts

* Nix sourceKey from output

* Pin dependency versions

* Fix module-deps-sortable ref

* Update tests for right deps
2016-04-29 18:09:52 -04:00
Tom MacWright
e7a8c23c81 Merge pull request #408 from documentationjs/file-order
Sort documentation in code order.
2016-04-26 15:20:26 -04:00
Tom MacWright
89895a7ac4 Support packed-refs 2016-04-26 14:48:10 -04:00
Tom MacWright
963473ae46 Remove old removeP 2016-04-26 13:43:18 -04:00
Tom MacWright
82388941ef Babel nodes are now frozen, lol, 😢 2016-04-26 13:32:46 -04:00
Tom MacWright
7519a5afef Sort documentation in code order. 2016-04-26 13:11:04 -04:00
John Firebaugh
ade4f3499b More correct parsing for kind shorthand (@class, @constant, etc)
* Set the `kind` property of the comment, not a property named by the kind.
* Set the `type` property as appropriate for these shorthands.
* Parse @callback as shorthand for @typedef {Function}
2016-03-29 13:21:47 -07:00
John Firebaugh
e93e4e4c89 Merge pull request #400 from btd/master
Add test for Object.prototype member's name
2016-03-29 08:47:29 -07:00
Denis Bardadym
6f0b886a75 Add test for Object.prototype member's name 2016-03-29 12:52:41 +03:00
John Firebaugh
40f79e4da4 Use released default theme version 3.0.0-beta1 2016-03-28 13:42:46 -07:00
John Firebaugh
65035d39d8 @linkcode and @linkplain are inline tags 2016-03-28 13:19:30 -07:00
John Firebaugh
08d6dc21bd Replace markdown strings with parsed ASTs
This eliminates the need for formatInlineTags and jsdoc-inline-lex, and simplifies the implementation of HTML themes.
2016-03-28 13:19:30 -07:00
Tom MacWright
3883cb45a9 Merge pull request #396 from btd/master
Fix when you want to document Object.prototype's methods
2016-03-26 13:14:02 -04:00
Denis Bardadym
5b51891008 Fix when you want to document Object.prototype's methods 2016-03-26 18:47:52 +03:00
Tom MacWright
b66478d9ac Version for 4.0.0-beta2 v4.0.0-beta2 2016-03-25 14:38:43 -04:00
Tom MacWright
b28ba3d98f Hardcode documentation binary name. Fixes #319 2016-03-25 14:35:07 -04:00
Tom MacWright
72708a0b03 Fix export without declaration. Fixes #393 2016-03-25 13:56:16 -04:00
Tom MacWright
70f92db92a Merge pull request #391 from documentationjs/collect-shortcut
Write collect() shortcut for parse
2016-03-22 17:53:15 -04:00
Tom MacWright
ff0e3b0e2c Write collect() shortcut for parse 2016-03-22 17:50:00 -04:00
Tom MacWright
cb28109a48 To beta1 v4.0.0-beta1 2016-03-19 17:39:53 -04:00
Tom MacWright
5b3a9d30dc Dependency update (except for remote-origin-url which breaks when you update, update changelog 2016-03-19 17:31:07 -04:00
Tom MacWright
fe2c5af61f Add test confirming fix for #340 2016-03-19 16:32:43 -04:00
Tom MacWright
1a1b80aca2 Add support for throws tag to markdown.
Fixes #360
2016-03-19 16:20:30 -04:00
Tom MacWright
67f8d9ead9 Fix overeager JS filtering in polyglot mode.
Fixes #363
2016-03-19 16:03:37 -04:00
Tom MacWright
c8ad087308 Refactor CLI parsing 2016-03-19 12:22:03 -04:00
Tom MacWright
5a5ebaf763 Unkink option parsing options 2016-03-18 17:11:11 -04:00
Tom MacWright
254e3313c3 Merge pull request #382 from documentationjs/ext-jsx-es6
Support js, jsx and es6 extensions by default
2016-03-16 17:38:53 -04:00
Tom MacWright
f8300277e2 Support js, jsx and es6 extensions by default 2016-03-16 17:35:47 -04:00
John Firebaugh
45b7b50cff Lint unknown tags 2016-03-14 18:45:29 -07:00
John Firebaugh
11a7758e56 Add placeholders for remaining tags 2016-03-14 18:43:09 -07:00
John Firebaugh
bad9c47216 Add @variation support 2016-03-14 18:29:05 -07:00
John Firebaugh
a597741550 Add @ignore support 2016-03-14 18:26:07 -07:00
John Firebaugh
40af71635f Add @interface support 2016-03-14 18:25:57 -07:00
John Firebaugh
e9d17e8795 Add @override and @readonly support 2016-03-14 18:17:18 -07:00
John Firebaugh
d2637ad491 Add placeholder comments for remaining tags 2016-03-14 17:52:04 -07:00
John Firebaugh
0011523f88 Add @abstract support 2016-03-14 17:52:04 -07:00
John Firebaugh
49a1cd9ff6 Clean up @example parsing and expand tests - back to 100% coverage 2016-03-14 17:33:24 -07:00
John Firebaugh
e0591cad4c Organize parse tests by individual tag 2016-03-14 17:31:17 -07:00
John Firebaugh
c0efef36ae Combine flatten and normalize into a single step; alphabetize 2016-03-14 16:52:42 -07:00
John Firebaugh
47eb1eaf26 Massage parse.js and tests to make upcoming changes easier 2016-03-14 14:57:24 -07:00
John Firebaugh
610f7d6959 Flatten @see and @todo description 2016-03-13 22:33:33 -07:00
John Firebaugh
e7800ed895 Add support for @deprecated, @see, and @todo 2016-03-13 22:18:39 -07:00
John Firebaugh
3e4a7cb48b Add @description and @summary support 2016-03-13 19:45:57 -07:00
John Firebaugh
5cb8825cf8 Fix membership inference (fixes #378) 2016-03-13 18:40:09 -07:00
John Firebaugh
5458d0e57d Fix lint line numbers (fixes #377) 2016-03-13 12:43:28 -07:00
John Firebaugh
cee5b4f517 Clean up name inference unit tests 2016-03-13 11:06:39 -07:00