45 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
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
Tom MacWright
314cc01c6f Infer getters as properties, not functions 2016-02-14 21:25:07 -05:00
Tom MacWright
b465902fa2 Add support for example captions
Fixes #110
2016-02-14 18:41:36 -05:00
Tom MacWright
2198432d6d Update bin test, fixtures 2016-01-24 11:32:26 -05:00
Tom MacWright
6b905aefb1 Update theme-default 2015-12-14 10:39:56 -05:00
Tom MacWright
d265cb3cec Bump theme to fix nested member examples. Fixes #267 2015-12-08 09:47:08 -05:00
Tom MacWright
931f48eefc Implement five tags:
- version
- author
- license
- copyright
- since

These are flattened and output in Markdown. HTML output will
require an update in the theme module
2015-12-07 17:53:00 -05:00
Tom MacWright
73d6118e1c Implement all doctrine-emitted types. Fixes #249 2015-12-07 12:44:15 -05:00
John Firebaugh
1a711644f5 Fix test 2015-12-06 10:56:08 -08:00
Tom MacWright
d069b6a40b Support new node versions, including v4 and v5
* Compare strings as lowercase, to permit for v4+ compatibility
* Fix bad reference to loc.name
* Update README badge and fixture
* Remove brfs dependency
* Remove traverse
* Remove browser transform support
2015-12-01 15:34:50 -05:00
Tom MacWright
fe82dde727 Fix HTML validity with default template 2015-11-24 11:35:17 -05:00
Tom MacWright
432151bce8 Fix nullable type support. Fixes #245 2015-11-17 11:12:42 -05:00
Tom MacWright
012a16f246 Fix name-annotated rest annotations 2015-11-04 17:56:59 -05:00
Tom MacWright
70cc7d0718 Infer Flow type aliases into typedefs. Fixes #227
Given the `type` tag introduced with Flow, this can infer
a typedef statement, as well as infer its potentially
nested properties and their types.

This also includes

* Refactor of Markdown AST generation that fixes #228
* Refactor of nest.js to handle multi-level nesting
2015-11-04 11:25:32 -05:00
Tom MacWright
ac5b04183f Improve internal documentation, upgrade theme-default. Refs #115 2015-10-30 15:44:46 -04:00
John Firebaugh
9dcf926669 Events are not a special scope 2015-10-13 16:37:19 -07:00
Tom MacWright
b173cf14a5 Fix parameter sorting, nest properties in Markdown 2015-10-05 15:02:33 -04:00
Tom MacWright
30525847f3 Handle both flattened and unflattened forms 2015-10-04 13:27:15 -04:00
Tom MacWright
f0954859f6 mdast-powered Markdown output 2015-10-03 16:57:37 -04:00
Tom MacWright
86eccf6fe5 Switch from prova/istanbul/coveralls to 'just tap'
Improves test coverage. Refs #102
2015-07-24 13:03:05 -04:00
Tom MacWright
058c43144e Update text fixtures 2015-07-10 15:18:22 -04:00
Tom MacWright
5e1c0c65d6 Update test fixtures for redesign 2015-07-06 09:49:32 -04:00
John Firebaugh
414a9c1e5c Add nestParams stream (fixes #89) 2015-06-11 11:30:57 -04:00
John Firebaugh
905de39f86 Include events in html output (fixes #88) 2015-06-10 16:58:04 -04:00
John Firebaugh
3ab94ab425 Fix tests 2015-06-10 09:50:45 -04:00
Tom MacWright
e0df1568e4 Output thrown exceptions. Fixes #86 2015-06-08 11:12:10 -04:00
Tom MacWright
e9573fbfa7 Fix lowercase linking 2015-05-27 10:03:43 -04:00
Tom MacWright
bc0fca9006 Add gitignore, use globals-docs to autolink all globals and even nodejs globals
Fixes #57
2015-05-27 09:53:40 -04:00
Tom MacWright
407069ad36 Test and output default value in templates. Fixes #69 2015-05-26 18:45:53 -04:00
Tom MacWright
02aa94b33f Update test fixture 2015-05-24 21:01:14 -04:00
Beau Gunderson
800123ae89 Update fixture for new sort order 2015-05-06 00:55:35 -07:00
Tom MacWright
c166fdd891 Improve test coverage 2015-04-17 19:19:03 -04:00
Tom MacWright
9b6a516746 Support bar-separated links 2015-04-16 14:18:13 -07:00
Tom MacWright
ee180691e8 Support inline links in HTML output 2015-04-16 14:16:27 -07: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
2325c27367 Update test 2015-04-09 14:38:16 -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
8a2c784119 update tests 2015-03-30 23:12:18 -04:00
Tom MacWright
76d4bbb27b Keep cranking on HTML output 2015-03-30 23:00:14 -04:00
Tom MacWright
c51923d6aa process.stdout is very picky with binding 2015-03-30 18:45:33 -04:00
Tom MacWright
7503d82a82 Work on HTML mode: exposes a basic implementation 2015-03-30 18:29:07 -04:00