21 Commits

Author SHA1 Message Date
Tom MacWright
25152edeb9 style(prettier): Use prettier for code formatting (#710)
* style(prettier): Use prettier for code formatting

This saves us style issues. Also adds husky and lint-staged for pre-commit testing

Refs https://github.com/documentationjs/documentation/issues/709
2017-04-10 14:25:45 -04:00
Tom MacWright
7f400da151 Highlight all Markdown, not just examples. Fixes #610 (#613)
* Highlight all Markdown, not just examples. Fixes #610

* Fix html output fixture

* Remove unrelated change
2016-11-21 17:47:00 -05:00
Chad McElligott
7c7d56c3bf Fix ReferenceError in default theme (#576)
Closes #559.
2016-10-26 11:08:30 -04:00
Tom MacWright
3f08c19533 Move documentation-theme-utils into core
Also:

* Fixes many issues in the default theme
* Moves the default theme from default-theme to default_theme
* Creates a new, robust linker infrastructure that will support
  bare links
* Replaces slugg with github-slugger
* Outputs unknown types as Any. Fixes #451
2016-06-08 12:40:05 -04:00
Tom MacWright
907a7a89c5 Test for augments formatting. Fixes #418 2016-05-22 20:04:03 -04: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
d265cb3cec Bump theme to fix nested member examples. Fixes #267 2015-12-08 09:47:08 -05:00
Tom MacWright
73d6118e1c Implement all doctrine-emitted types. Fixes #249 2015-12-07 12:44:15 -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
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
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
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
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
7503d82a82 Work on HTML mode: exposes a basic implementation 2015-03-30 18:29:07 -04:00