314 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
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
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
Denis Bardadym
6f0b886a75 Add test for Object.prototype member's name 2016-03-29 12:52:41 +03: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
72708a0b03 Fix export without declaration. Fixes #393 2016-03-25 13:56:16 -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
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
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
John Firebaugh
085dd9ac1d Add unit test for name inference from @alias 2016-03-13 11:02:43 -07:00
ikokostya
e8491b817d support github enterprise url 2016-03-09 19:50:00 +03:00
Tom MacWright
856b552bd6 Merge pull request #355 from documentationjs/getter-property
Infer getters as properties, not functions
2016-02-14 21:30:59 -05:00
Tom MacWright
314cc01c6f Infer getters as properties, not functions 2016-02-14 21:25:07 -05:00
Tom MacWright
0d8fcc09c8 Don't crash if .git is there but .git/HEAD isn't. Fixes #329 2016-02-14 19:34:09 -05:00
Tom MacWright
df96427db7 Upgrade everything but remark 2016-02-14 19:06:19 -05:00
Tom MacWright
54e1f5ff7b Testcase coverage of import *, fixes #333. Also coverage of example caption 2016-02-14 18:49:24 -05:00
Tom MacWright
b465902fa2 Add support for example captions
Fixes #110
2016-02-14 18:41:36 -05:00
Tom MacWright
70fbdedf0c Babel 6 upgrade, round 2 2016-02-14 13:15:54 -05:00
Tom MacWright
50a6e55642 Consolidate test fixtures for faster test runs 2016-01-24 11:53:27 -05:00
Tom MacWright
2198432d6d Update bin test, fixtures 2016-01-24 11:32:26 -05:00
Tom MacWright
a15e1c5fe2 Update for new highlight.js 2016-01-24 11:26:05 -05:00
Anton Lavrenov
9356ac5d26 empty example test 2016-01-19 10:38:42 +08:00
Daniel Tschinder
0853c57dda Add support for flow boolean literal type 2016-01-06 15:43:22 +01:00
Daniel Tschinder
03df725ce5 Add tests for StringLiteral and NumberLiteral types 2016-01-05 12:24:18 +01:00
Tom MacWright
34b647fa4a Ban and fix trailing spaces. 2016-01-03 17:02:25 -05:00
Charlie Brown
52ba97b7f1 Correct js lint errors 2015-12-30 13:30:54 -06:00