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
89895a7ac4
Support packed-refs
2016-04-26 14:48:10 -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
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