176 Commits

Author SHA1 Message Date
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
Denis Bardadym
5b51891008 Fix when you want to document Object.prototype's methods 2016-03-26 18:47:52 +03: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
ff0e3b0e2c Write collect() shortcut for parse 2016-03-22 17:50:00 -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
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
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
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
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
b465902fa2 Add support for example captions
Fixes #110
2016-02-14 18:41:36 -05:00
Tom MacWright
46b9b6543c Remove ast-types dependency 2016-02-14 17:59:37 -05:00
Tom MacWright
70fbdedf0c Babel 6 upgrade, round 2 2016-02-14 13:15:54 -05:00
Tom MacWright
a15e1c5fe2 Update for new highlight.js 2016-01-24 11:26:05 -05:00
Titus Wormer
35e17be4e4 Rename mdast to remark
Note that the AST now carries the name “mdast”, meaning
utilities (such as mdast-util-inject) keep their name.

This name-change includes the `mdast` formatter, which also changed
to `remark`.

Additionally:

* Update relating packages.
* Fix a bug where `text` nodes without value were
  [generated](6b905aefb1/lib/output/markdown_ast.js (L144)).
2016-01-24 10:35:51 -05:00
Anton Lavrenov
e1f6912e8a fix lint errors 2016-01-15 11:41:19 +08:00
Anton Lavrenov
cddc09d996 fix empty example error. add lint rule. 2016-01-15 11:31:59 +08:00
Daniel Tschinder
0853c57dda Add support for flow boolean literal type 2016-01-06 15:43:22 +01:00
Markus Hsi-Yang Fritz
f14fff41b9 Add support for Flow literal string/number types 2016-01-05 12:24:08 +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
Anand Thakker
bdd1f539fc Exit nonzero from readme cmd if section is absent 2015-12-13 22:18:33 -05:00
Anand Thakker
3ea2944ebc Add readme command and tests 2015-12-13 15:33:35 -05:00
Tom MacWright
8a6cac82d1 Add --access flag. Fixes #262 2015-12-12 17:09:43 -05:00
Tom MacWright
5ef597b2ee Combine default parameters into types. Fixes #290 2015-12-10 17:45:59 -05:00
Tom MacWright
71f778bcb1 Simplify destructuring types 2015-12-10 16:55:02 -05:00
Tom MacWright
4b252ebf00 Avoid traversal where possible. Fixes #293 2015-12-10 16:11:44 -05:00