14 Commits

Author SHA1 Message Date
Anton Shchekota
61ed5dd002 deps: update unist and highlight.js 2021-10-28 11:49:37 +03:00
Anton Shchekota
db74e7cac9 deps: update remark deps 2021-10-20 16:51:02 +03:00
Anton Shchekota
05026ce390 refactor: convert project to ESM 2021-10-19 16:38:44 +03:00
Anton
6b5bc2548d
fix: add gfm format for remark fixed #1374 (#1375)
Plugins for remark was reworks because @link should be catch by first then autolink
2021-04-24 16:02:17 -07:00
Anton
f4a46b134f
deps: update remark on last version fixed #1349 (#1370)
1. New plugins was created parse jsDoc links and remove position
2. spread: false - to remove new line after each listItem
2021-04-20 13:25:06 -07:00
Anton
f2fa522070
refactor: switch off position for remark, it is reduce size of tests and check on position (#1369) 2021-04-16 08:18:06 -07:00
Tom MacWright
48bb7a283e feat: support for the @see tag in Markdown & HTML
* add @see ref support for parsing to html

* edit tests

* fix markdown issue with @see ref

* edit related title so it would not generate with see ref every time

* edit tests

* Fix tests

Co-authored-by: Vladimir Berezovsky <berezovsky@ex.ua>
2020-03-30 23:35:32 -07:00
Devon Govett
3773e02949 feat: TypeScript support & inference 2019-04-25 08:13:33 -07:00
Devon Govett
8e3cd47906 feat: Support generator functions 2019-04-18 09:47:51 -07:00
Devon Govett
d31c3b70d6 feat: Support async functions 2019-04-18 09:47:51 -07:00
Anton Shchekota
7d74060caf Eslint add new rules - no-var and prefer-const 2018-01-24 14:10:41 +03:00
Ryan Hendrickson
a04b6fd61d fix: @name tag disconnects comment (#897)
The previous support for @name tags suppressing inference from
surrounding code was ad-hoc and incomplete. This commit makes a @name
tag (or a tag acting as a @kind/@name shorthand combo, like @function)
detach the `ast` field from the comment context, so that the surrounding
code will be universally ignored per the JSDoc spec.
2017-09-03 23:44:55 -07:00
Ryan Hendrickson
7a07d5118d feat: implement @hideconstructor (#898)
Per usejsdoc.org, this tag goes either in a comment attached to a
function that has declared that function to be a class, or in a comment
on an ES6 class constructor.
2017-09-03 23:07:13 -07:00
Tom MacWright
11d9045a00 Native Flow, use Jest (#767)
* build: Use Flow syntax without comments.

We're switching to Flow annotations - not Flow comments. This
gives documentation.js the ability to self-document without
JSDoc types and improves our compatibility with tools like
prettier.

Fixes #729. Fixes #709
2017-05-08 20:46:21 -04:00