25 Commits

Author SHA1 Message Date
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
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
49a1cd9ff6 Clean up @example parsing and expand tests - back to 100% coverage 2016-03-14 17:33:24 -07:00
Tom MacWright
b465902fa2 Add support for example captions
Fixes #110
2016-02-14 18:41:36 -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
John Firebaugh
9dcf926669 Events are not a special scope 2015-10-13 16:37:19 -07:00
John Firebaugh
efd5b4ccb4 Correctly name comments attached to module.exports (fixes #178) 2015-10-12 15:57:56 -07:00
John Firebaugh
5449757782 More test cases and fixes for exports inference 2015-10-12 14:06:14 -07:00
Tom MacWright
d7f06fa5c4 Store commentLineNumber on errors. Fixes #159
cc @jfirebaugh for the review
2015-10-06 16:23:22 -04:00
Tom MacWright
7b156d8769 Babel! 🙌
cc @jfirebaugh for the review

This was easier than expected.
2015-10-04 21:55:54 -04:00
Tom MacWright
f0954859f6 mdast-powered Markdown output 2015-10-03 16:57:37 -04:00
John Firebaugh
a7edcd19d6 Move infer/name after normalizations 2015-08-30 20:36:40 -07:00
John Firebaugh
a07164fece Move infer/kind after normalizations 2015-08-30 20:27:26 -07:00
John Firebaugh
afe2416b7b Move infer/membership after normalization 2015-08-30 20:26:25 -07:00
John Firebaugh
4e992612f0 Report parse errors from doctrine 2015-06-13 15:34:41 -04:00
Tom MacWright
84f09f9953 More intense kind inference
Can now infer

* function
* constant
* class

Remove unused var and inapplicable comment

Use strict, use a string to run functions not legal in strict mode

Make output fancier and better.

Use difflet, channel rage

Normalize html / json output

Omit json from test output

Fixup output
2015-04-13 17:57:54 -07:00
Tom MacWright
bf050fb827 Graduate access and flattening to the default 2015-04-09 15:15:39 -07:00
Tom MacWright
b3c3d920cc Add sorting stream to stable-sort results 2015-04-09 11:34:43 -07:00
Tom MacWright
424717abb1 Update tests 2015-04-08 16:46:53 -07:00
Tom MacWright
76d4bbb27b Keep cranking on HTML output 2015-03-30 23:00:14 -04:00
Tom MacWright
1966d60391 Test and expose via bin custom markdown templates. 2015-03-30 11:20:10 -04:00
John Firebaugh
66056d719b Add flatten stream, a more opinionated pivot
Fixes #30
2015-03-26 17:45:28 -07:00
Tom MacWright
d873faf9ee Turn on ES6 features, remove unused modules 2015-03-26 15:59:15 -04:00
John Firebaugh
457142e285 Infer @memberof and @instance/@static (fixes #26) 2015-03-17 22:59:04 -07:00
Tom MacWright
b50dfe860e Support multiple entry points. Fixes #6 2015-03-13 11:38:33 -04:00