95 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Charlie Brown
7f7784ced3 Support revealing module pattern 2015-12-30 12:48:48 -06:00
Tom MacWright
8a6cac82d1 Add --access flag. Fixes #262 2015-12-12 17:09:43 -05:00
Tom MacWright
8e0f960db0 Move type formatting helper to utils package 2015-12-07 16:26:14 -05:00
John Firebaugh
0a1de4f343 Theme API 2.0 2015-12-07 16:09:24 -05:00
Tom MacWright
73d6118e1c Implement all doctrine-emitted types. Fixes #249 2015-12-07 12:44:15 -05:00
John Firebaugh
638689e0ad Add parsing unit tests 2015-12-06 10:56:23 -08:00
Tom MacWright
d470b54213 Correctly interpret name tag. Fixes #205 2015-11-28 11:50:29 -05:00
Tom MacWright
7084147d51 Fix and test detached url prefixes. Fixes #251 2015-11-25 15:00:39 -05:00
Tom MacWright
8fd36f986a Fix and cover bug in walk, make highlighting functional 2015-11-25 14:19:55 -05:00
Tom MacWright
50aaf9d35b --watch and --serve flags
These new flags replace the functionality of
dev-documentation
2015-11-24 11:21:11 -05:00
Lucas Wojciechowski
a8581b41e7 Fix exception when formatting lint errors 2015-11-11 09:35:00 -05:00
Tom MacWright
b53f94766e Nest both properties and params. Fixes #164 2015-11-03 11:59:17 -05:00
Tom MacWright
844f4b73bb Use vfile-reporter to format error output 2015-10-25 20:39:28 -04:00
John Firebaugh
cabef43e37 Access inheritance (fixes #78) 2015-10-15 18:46:43 -07:00
John Firebaugh
bac4c5b434 Remove unnecessary @returns 2015-10-15 18:23:20 -07:00